esbuild: remove whitespace in the bundled file

This commit is contained in:
liushuyu 2023-02-08 22:36:45 -07:00
parent 815ceb358f
commit 199e000317
No known key found for this signature in database
GPG key ID: 23D1CE4534419437

View file

@ -40,7 +40,7 @@
},
"scripts": {
"postinstall": "node generateExports.js",
"build": "yarn run esbuild --bundle src/server.ts --platform=node --target=node18 --outdir=dist/",
"build": "yarn run esbuild --bundle src/server.ts --platform=node --target=node18 --outdir=dist/ --minify-whitespace",
"check": "yarn run tsc --noEmit",
"bundle": "./bundle.sh",
"serve": "yarn run ts-node ./src/server.ts"