Skip to content

Commit

Permalink
fix: export mui datatables
Browse files Browse the repository at this point in the history
Signed-off-by: Antonette Caldwell <[email protected]>
  • Loading branch information
nebula-aac committed Nov 2, 2023
1 parent f6a9260 commit c487f3e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 18 deletions.
20 changes: 8 additions & 12 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
"version": "0.8.1-beta.1",
"description": "Reusable React Components",
"type": "module",
"main": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
}
},
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"files": [
Expand Down Expand Up @@ -70,16 +76,6 @@
"@layer5/sistent-svg": "0.11.1-beta.0"
},
"publishConfig": {
"access": "public",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js",
"default": "./dist/index.js"
}
},
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts"
"access": "public"
}
}
5 changes: 0 additions & 5 deletions packages/components/src/base/DataTable/datatable.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion packages/components/src/base/DataTable/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { DataTable } from './datatable';
export * from 'mui-datatables';

0 comments on commit c487f3e

Please sign in to comment.