We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d29cf71 + a34f3bc commit ae1fa59Copy full SHA for ae1fa59
package.json
@@ -29,7 +29,7 @@
29
"packageManager": "pnpm@8.10.2",
30
"scripts": {
31
"dev": "vite",
32
- "build": "tsc --noEmit && vite build",
+ "build": "tsup",
33
"format": "npx @biomejs/biome format --write",
34
"lint": "npx @biomejs/biome lint --write",
35
"preview": "vite preview",
tsup.config.ts
@@ -14,6 +14,7 @@ export default defineConfig({
14
entry: ['src/index.ts'],
15
format: ['cjs', 'esm'],
16
dts: true,
17
+ minify: true,
18
splitting: false,
19
sourcemap: true,
20
treeshake: true,
0 commit comments