aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-08-19 21:58:07 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:57 +0300
commit838c757151d1fe28187a40ab9f01045d7959115c (patch)
tree4df11c0207b8977fb1f78a716f999bbc2cd82d40
parent509cbeb4687b5ef9ab327e6d04abf72fee1089d3 (diff)
Fix dev server start command
-rw-r--r--vnext/package.json2
-rw-r--r--vnext/webpack.config.js5
2 files changed, 4 insertions, 3 deletions
diff --git a/vnext/package.json b/vnext/package.json
index 782b57a3..ca7130ed 100644
--- a/vnext/package.json
+++ b/vnext/package.json
@@ -5,7 +5,7 @@
"scripts": {
"test": "jest",
"dist": "webpack --mode=production --progress",
- "start": "webpack --mode=development serve"
+ "start": "webpack serve"
},
"keywords": [],
"author": "",
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js
index ed8686c1..a61cb0b5 100644
--- a/vnext/webpack.config.js
+++ b/vnext/webpack.config.js
@@ -96,8 +96,9 @@ module.exports = (env, argv) => {
historyApiFallback: true,
host: '0.0.0.0',
hot: true,
- inline: true,
- overlay: true
+ client: {
+ overlay: true
+ }
}
};