mirror of https://github.com/Fabio286/antares.git
Merge pull request #133 from Fabio286/dependabot/npm_and_yarn/webpack-dev-server-4.4.0
build(deps-dev): bump webpack-dev-server from 3.11.2 to 4.4.0
This commit is contained in:
commit
17c6686163
|
@ -1,4 +1,4 @@
|
|||
/node_modules
|
||||
/assets/vendor
|
||||
/out
|
||||
/dist
|
||||
node_modules
|
||||
assets
|
||||
out
|
||||
dist
|
|
@ -158,6 +158,6 @@
|
|||
"vue-template-compiler": "^2.6.14",
|
||||
"webpack": "^5.60.0",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^3.11.2"
|
||||
"webpack-dev-server": "^4.4.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -113,14 +113,16 @@ function startRenderer (callback) {
|
|||
});
|
||||
|
||||
const server = new WebpackDevServer(compiler, {
|
||||
contentBase: path.join(__dirname, '../'),
|
||||
static: path.join(__dirname, '../'),
|
||||
hot: true,
|
||||
noInfo: true,
|
||||
overlay: true,
|
||||
clientLogLevel: 'warning'
|
||||
port: 9080,
|
||||
client: {
|
||||
overlay: true,
|
||||
logging: 'warn'
|
||||
}
|
||||
});
|
||||
|
||||
server.listen(9080, '', err => {
|
||||
server.startCallback(err => {
|
||||
if (err) console.error(chalk.red(err));
|
||||
|
||||
callback();
|
||||
|
|
Loading…
Reference in New Issue