Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
5811d55f
Unverified
Commit
5811d55f
authored
7 years ago
by
Dan Abramov
Committed by
GitHub
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Use new WebpackDevServer option (#3401)
parent
90c83f79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/react-scripts/config/webpackDevServer.config.js
+1
-1
packages/react-scripts/config/webpackDevServer.config.js
packages/react-scripts/package.json
+1
-1
packages/react-scripts/package.json
with
2 additions
and
2 deletions
+2
-2
packages/react-scripts/config/webpackDevServer.config.js
+
1
-
1
View file @
5811d55f
...
...
@@ -94,7 +94,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
...
...
This diff is collapsed.
Click to expand it.
packages/react-scripts/package.json
+
1
-
1
View file @
5811d55f
...
...
@@ -54,7 +54,7 @@
"sw-precache-webpack-plugin"
:
"0.11.4"
,
"url-loader"
:
"0.6.2"
,
"webpack"
:
"3.8.1"
,
"webpack-dev-server"
:
"2.9.
3
"
,
"webpack-dev-server"
:
"2.9.
4
"
,
"webpack-manifest-plugin"
:
"1.3.2"
,
"whatwg-fetch"
:
"2.0.3"
},
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment