Skip to content

Commit e80b005

Browse files
committed
chore: update build script to enable minification
1 parent 00ccf00 commit e80b005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"main": "lib/index.js",
1414
"files": ["lib"],
1515
"scripts": {
16-
"build": "esbuild --bundle src/index.ts --outdir=lib --platform=node --external:@myriaddreamin/typst-ts-web-compiler",
16+
"build": "esbuild --bundle src/index.ts --outfile=lib/index.js --platform=node --external:@myriaddreamin/typst-ts-web-compiler --minify",
1717
"clean": "rm -frv lib",
1818
"format:write": "biome format --write .",
1919
"format": "biome format .",

0 commit comments

Comments
 (0)