Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
chore: Update dependency webpack-dev-server to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasOneSpanDev committed Sep 9, 2021
1 parent d76bbee commit 78fd97f
Show file tree
Hide file tree
Showing 10 changed files with 407 additions and 217 deletions.
9 changes: 0 additions & 9 deletions docs/webpack-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -622,12 +622,6 @@ neutrino.config
.plugin(name)
.use(WebpackPlugin, args)
// Examples
neutrino.config
.plugin('hot')
.use(webpack.HotModuleReplacementPlugin);
// Plugins can also be specified by their path, allowing the expensive require()s to be
// skipped in cases where the plugin or webpack configuration won't end up being used.
neutrino.config
Expand Down Expand Up @@ -829,7 +823,6 @@ neutrino.config.devServer
.historyApiFallback(historyApiFallback)
.host(host)
.hot(hot)
.hotOnly(hotOnly)
.https(https)
.inline(inline)
.info(info)
Expand All @@ -851,7 +844,6 @@ neutrino.config.devServer
.staticOptions(staticOptions)
.stats(stats)
.stdin(stdin)
.useLocalIp(useLocalIp)
.watchContentBase(watchContentBase)
.watchOptions(watchOptions)
```
Expand Down Expand Up @@ -1074,7 +1066,6 @@ neutrino.config.merge({
historyApiFallback,
host,
hot,
hotOnly,
https,
inline,
lazy,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@
"verdaccio-memory": "^9.7.2",
"webpack": "^5.44.0",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^3.11.0"
"webpack-dev-server": "^4.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/dev-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"peerDependencies": {
"neutrino": "^9.0.0",
"webpack": "^5.0.0",
"webpack-dev-server": "^3.0.0"
"webpack-dev-server": "^4.0.0"
}
}
3 changes: 0 additions & 3 deletions packages/node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ module.exports = (opts = {}) => {
.output.devtoolModuleFilenameTemplate('[absolute-resource-path]')
.end()
.when(options.hot, (config) => {
config
.plugin('hot')
.use(require.resolve('webpack/lib/HotModuleReplacementPlugin'));
mainKeys.forEach((key) => {
config
.entry(key)
Expand Down
2 changes: 1 addition & 1 deletion packages/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"neutrino": "^9.0.0",
"webpack": "^5.0.0",
"webpack-cli": "^4.0.0",
"webpack-dev-server": "^3.0.0"
"webpack-dev-server": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"neutrino": "^9.0.0",
"webpack": "^5.0.0",
"webpack-cli": "^4.0.0",
"webpack-dev-server": "^3.0.0"
"webpack-dev-server": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"neutrino": "^9.0.0",
"webpack": "^5.0.0",
"webpack-cli": "^4.0.0",
"webpack-dev-server": "^3.0.0"
"webpack-dev-server": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"neutrino": "^9.0.0",
"webpack": "^5.0.0",
"webpack-cli": "^4.0.0",
"webpack-dev-server": "^3.0.0"
"webpack-dev-server": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
"neutrino": "^9.0.0",
"webpack": "^5.0.0",
"webpack-cli": "^4.0.0",
"webpack-dev-server": "^3.0.0"
"webpack-dev-server": "^4.0.0"
}
}
Loading

0 comments on commit 78fd97f

Please sign in to comment.