diff --git a/package.json b/package.json index 3356e475..eb0e5ae6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "@drincs/pixi-vn", "version": "0.6.14", + "type": "module", "description": "Pixi'VN is a npm package that provides various features for creating visual novels.", "main": "./dist/index.js", "module": "./dist/index.mjs", diff --git a/tsup.config.ts b/tsup.config.ts index 39930133..9052d0e3 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -8,4 +8,8 @@ export default defineConfig({ splitting: false, sourcemap: true, clean: true, + minify: true, + bundle: true, + skipNodeModulesBundle: true, + entryPoints: ['src/index.ts'], });