Skip to content

Commit

Permalink
Add minify option and remove extra exports
Browse files Browse the repository at this point in the history
  • Loading branch information
csandman committed Oct 20, 2023
1 parent c25b0d6 commit 836f4de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@
},
"exports": {
".": {
"module": "./dist/index.mjs",
"import": "./dist/index.mjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
1 change: 1 addition & 0 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export default defineConfig({
target: "es2019",
sourcemap: true,
dts: true,
minify: true,
});

0 comments on commit 836f4de

Please sign in to comment.