Skip to content

Commit

Permalink
chore: adjust exports files
Browse files Browse the repository at this point in the history
  • Loading branch information
iamyuu committed Nov 6, 2023
1 parent da20fef commit 002d18c
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 43 deletions.
Binary file removed .DS_Store
Binary file not shown.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
node_modules
src/utils/result.json
src/utils/result.json
dist
.DS_Store
.AppleDouble
.LSOverride
1 change: 0 additions & 1 deletion dist/index.cjs

This file was deleted.

1 change: 0 additions & 1 deletion dist/index.esm.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/index.mjs

This file was deleted.

36 changes: 0 additions & 36 deletions dist/types/index.d.ts

This file was deleted.

11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@
"zod": "^3.22.4"
},
"exports": {
"module": "./dist/index.esm.js",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
".": {
"module": "./dist/index.esm.js",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"types": "./dist/types/index.d.ts",
"scripts": {
"build": "bunchee",
Expand Down

0 comments on commit 002d18c

Please sign in to comment.