From 199e000317e4a233b13a6dc47b74fede2bc65fe5 Mon Sep 17 00:00:00 2001 From: liushuyu Date: Wed, 8 Feb 2023 22:36:45 -0700 Subject: [PATCH] esbuild: remove whitespace in the bundled file --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2735bac..dfc9abd 100644 --- a/package.json +++ b/package.json @@ -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"