Skip to content

Commit 1b43c71

Browse files
committed
Enable tree-shaking and disable code splitting in tsup configuration
1 parent 1ac1c5d commit 1b43c71

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@drincs/pixi-vn",
3-
"version": "0.10.4",
3+
"version": "0.10.5",
44
"type": "module",
55
"description": "Pixi'VN is a npm package that provides various features for creating visual novels.",
66
"main": "./dist/index.cjs",

tsup.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ export default defineConfig({
55
entry: ["src/**/*.ts"],
66
format: ["cjs", "esm"], // Build for commonJS and ESmodules
77
dts: true, // Generate declaration file (.d.ts)
8-
// treeshake: true,
9-
// splitting: false,
8+
treeshake: true,
9+
splitting: false,
1010
// sourcemap: true, // Generate sourcemap, it was removed because otherwise it would explode
1111
clean: true,
1212
minify: true,

0 commit comments

Comments
 (0)