Skip to content

Commit

Permalink
Modify tsup config
Browse files Browse the repository at this point in the history
  • Loading branch information
PuruVJ committed Jul 1, 2024
1 parent f5c2a60 commit 78d89ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"import": {
"production": "./dist/min/index.js",
"development": "./dist/index.js"
},
"default": "./dist/index.js"
},
"./package.json": "./package.json"
Expand Down
4 changes: 1 addition & 3 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ export default defineConfig([
target: "es2022",
outDir: "dist/min",
legacyOutput: false,
dts: {
resolve: false,
},
dts: false,
sourcemap: true,
clean: true,
// noExternal: [/.+/],
Expand Down

0 comments on commit 78d89ec

Please sign in to comment.