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
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
}, },
"scripts": { "scripts": {
"postinstall": "node generateExports.js", "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", "check": "yarn run tsc --noEmit",
"bundle": "./bundle.sh", "bundle": "./bundle.sh",
"serve": "yarn run ts-node ./src/server.ts" "serve": "yarn run ts-node ./src/server.ts"