Skip to content

Commit

Permalink
config/webpackDevServer.config.js: Fix deprecation warning
Browse files Browse the repository at this point in the history
`setup` was deprecated in webpack/webpack-dev-server#1108
  • Loading branch information
xtian committed Feb 6, 2018
1 parent 0ea5063 commit 5df599e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/webpackDevServer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = function(proxy, allowedHost) {
},
public: allowedHost,
proxy,
setup(app) {
before(app) {
// This lets us open files from the runtime error overlay.
app.use(errorOverlayMiddleware());
// This service worker file is effectively a 'no-op' that will reset any
Expand Down

0 comments on commit 5df599e

Please sign in to comment.