Unverified Commit 5811d55f authored by Dan Abramov's avatar Dan Abramov Committed by GitHub
Browse files

Use new WebpackDevServer option (#3401)

parent 90c83f79
Showing with 2 additions and 2 deletions
+2 -2
...@@ -94,7 +94,7 @@ module.exports = function(proxy, allowedHost) { ...@@ -94,7 +94,7 @@ module.exports = function(proxy, allowedHost) {
}, },
public: allowedHost, public: allowedHost,
proxy, proxy,
setup(app) { before(app) {
// This lets us open files from the runtime error overlay. // This lets us open files from the runtime error overlay.
app.use(errorOverlayMiddleware()); app.use(errorOverlayMiddleware());
// This service worker file is effectively a 'no-op' that will reset any // This service worker file is effectively a 'no-op' that will reset any
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
"sw-precache-webpack-plugin": "0.11.4", "sw-precache-webpack-plugin": "0.11.4",
"url-loader": "0.6.2", "url-loader": "0.6.2",
"webpack": "3.8.1", "webpack": "3.8.1",
"webpack-dev-server": "2.9.3", "webpack-dev-server": "2.9.4",
"webpack-manifest-plugin": "1.3.2", "webpack-manifest-plugin": "1.3.2",
"whatwg-fetch": "2.0.3" "whatwg-fetch": "2.0.3"
}, },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment