Skip to content

Commit 4992b66

Browse files
committed
chore: adjusts treeshake flags
1 parent ece1947 commit 4992b66

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/client/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default defineConfig(() => ({
1212
outDir: 'dist',
1313
splitting: false,
1414
sourcemap: true,
15-
treeshake: false,
15+
treeshake: true,
1616
clean: true,
1717
tsconfig: 'tsconfig.build.json',
1818
bundle: true,

packages/env/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig(() => ({
66
outDir: 'dist',
77
splitting: false,
88
sourcemap: true,
9-
treeshake: false,
9+
treeshake: true,
1010
clean: true,
1111
tsconfig: 'tsconfig.build.json',
1212
bundle: true,

packages/react/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig(() => ({
66
outDir: 'dist',
77
splitting: false,
88
sourcemap: true,
9-
treeshake: false,
9+
treeshake: true,
1010
clean: true,
1111
tsconfig: 'tsconfig.build.json',
1212
bundle: true,

packages/types/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig(() => ({
66
outDir: 'dist',
77
splitting: false,
88
sourcemap: true,
9-
treeshake: false,
9+
treeshake: true,
1010
clean: true,
1111
tsconfig: 'tsconfig.build.json',
1212
bundle: true,

templates/lib/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig(() => ({
66
outDir: 'dist',
77
splitting: false,
88
sourcemap: true,
9-
treeshake: false,
9+
treeshake: true,
1010
clean: true,
1111
tsconfig: 'tsconfig.build.json',
1212
bundle: true,

0 commit comments

Comments
 (0)