esbuild: remove whitespace in the bundled file
This commit is contained in:
parent
815ceb358f
commit
199e000317
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue