diff options
Diffstat (limited to 'vnext/package.json')
-rw-r--r-- | vnext/package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vnext/package.json b/vnext/package.json index 41e26972..d7f9225c 100644 --- a/vnext/package.json +++ b/vnext/package.json @@ -4,9 +4,8 @@ "description": "", "scripts": { "test": "jest", - "dist": "webpack --mode=production --progress", - "start": "webpack serve", - "server": "npm run dist && node server/bootstrap.js" + "dist": "webpack --mode=production --progress && esbuild --bundle --platform=node --target=node18 --loader:.css=file --loader:.js=jsx --loader:.png=file --loader:.svg=file --outfile=dist/server.js server/index.js", + "start": "webpack serve" }, "keywords": [], "author": "", @@ -81,6 +80,7 @@ "config": "^3.3.8", "core-js": "^3.26.0", "cors": "^2.8.5", + "esbuild": "^0.15.12", "evil-icons": "^1.10.1", "express": "^4.18.2", "ignore-styles": "^5.0.1", |