diff options
author | Vitaly Takmazov | 2024-08-06 22:11:57 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-09-02 05:58:21 +0300 |
commit | 5a30741ef70d8a11e2f1976229957983f9c08fad (patch) | |
tree | 4b1543201435ed4027e05bf8e645718694c8fa94 /package.json | |
parent | 0149dddce3145875b45416cbc80bc229098fe495 (diff) |
Fix vnext server build
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json index f4370f94..b8c48d0f 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "lint": "eslint src/main/assets", "vnext:build": "webpack -c vnext/webpack.config.js --mode production --progress", "vnext:build:ssr": "npm run vnext:build && webpack -c vnext/server/webpack.config.js --mode production", - "vnext:start-ssr": "npm run vnext:build:ssr && cross-env DEBUG=http node --enable-source-maps public/server.js", + "vnext:start-ssr": "npm run vnext:build && webpack -c vnext/server/webpack.config.js --mode development && cross-env DEBUG=http node --enable-source-maps public/server.js", "vnext:start": "webpack serve -c vnext/webpack.config.js --mode development", "vnext:lint": "eslint vnext", "bridge:build": "webpack -c bridge/webpack.config.js --mode production" @@ -62,7 +62,8 @@ "supertest": "^7.0.0", "webpack": "^5.94.0", "webpack-cli": "^5.1.4", - "webpack-dev-server": "^5.0.4" + "webpack-dev-server": "^5.0.4", + "webpack-node-externals": "^3.0.0" }, "dependencies": { "axios": "^1.7.5", |