fix: 指定webpack-dev-server的socket参数

This commit is contained in:
wanchun 2021-03-27 13:14:37 +08:00
parent 83ad0620cc
commit 6e27828b9f
3 changed files with 3 additions and 6 deletions

View File

@ -18,6 +18,8 @@ export function startDevServer({
contentBase: webpackConfig.output.path,
hot: true,
host,
sockHost: host,
sockPort: port,
proxy,
compress: true,
noInfo: true,

View File

@ -1 +1 @@
FES_APP_PUBLISH_ERROR_PAGE=hello
FES_APP_PUBLISH_ERROR_PAGE=hello

View File

@ -12906,11 +12906,6 @@ path-to-regexp@0.1.7:
resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c"
integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=
path-to-regexp@^6.2.0:
version "6.2.0"
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-6.2.0.tgz#f7b3803336104c346889adece614669230645f38"
integrity sha512-f66KywYG6+43afgE/8j/GoiNyygk/bnoCbps++3ErRKsIYkGGupyv07R2Ok5m9i67Iqc+T2g1eAUGUPzWhYTyg==
path-type@^1.0.0:
version "1.1.0"
resolved "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441"