Skip to content

Commit ae1fa59

Browse files
Merge pull request #57 from observerly/chore/configuration/tsup
chore: amend tsup.config.ts configuration in workspace root in @observerly/fits
2 parents d29cf71 + a34f3bc commit ae1fa59

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"packageManager": "pnpm@8.10.2",
3030
"scripts": {
3131
"dev": "vite",
32-
"build": "tsc --noEmit && vite build",
32+
"build": "tsup",
3333
"format": "npx @biomejs/biome format --write",
3434
"lint": "npx @biomejs/biome lint --write",
3535
"preview": "vite preview",

tsup.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default defineConfig({
1414
entry: ['src/index.ts'],
1515
format: ['cjs', 'esm'],
1616
dts: true,
17+
minify: true,
1718
splitting: false,
1819
sourcemap: true,
1920
treeshake: true,

0 commit comments

Comments
 (0)