We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6efe881 commit 0519151Copy full SHA for 0519151
package.json
@@ -3,6 +3,8 @@
3
"version": "1.0.0",
4
"description": "",
5
"main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
"scripts": {
9
"build": "tsup"
10
},
tsup.config.js
@@ -6,6 +6,8 @@ export default defineConfig({
dts: true,
target: 'node16',
splitting: false,
+ minify:true,
treeshake:true,
11
clean: true,
12
+ bundle:true,
13
});
0 commit comments