From 6fcb7a223320903c3db585ea1971e7ea6b29de9f Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 5 Sep 2020 12:34:54 +0800 Subject: [PATCH] bugfix --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a9660f89c..a07a88800 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "webpack-merge": "4.2.1" }, "scripts": { - "webpack:dev": "node --max_old_space_size=4096 node_modules/.bin/webpack-dev-server -p --progress --host 0.0.0.0 --config=webpack/webpack.dev.js --mode development", + "webpack:dev": "node --max_old_space_size=4096 node_modules/webpack-dev-server/bin/webpack-dev-server.js -p --progress --host 0.0.0.0 --config=webpack/webpack.dev.js --mode development", "webpack:prod": "webpack -p --progress --config=webpack/webpack.prod.js --mode production", "start": "node server.js", "build": "npm run webpack:prod && tsc",