Commit a0030fcf authored by Jonny Buchanan's avatar Jonny Buchanan Committed by Joe Haddad
Browse files

Update style-loader and disable inclusion of its HMR code in builds (#3236)

parent 62f0a83c
Showing with 7 additions and 2 deletions
+7 -2
......@@ -197,7 +197,12 @@ module.exports = {
loader: ExtractTextPlugin.extract(
Object.assign(
{
fallback: require.resolve('style-loader'),
fallback: {
loader: require.resolve('style-loader'),
options: {
hmr: false,
},
},
use: [
{
loader: require.resolve('css-loader'),
......
......@@ -49,7 +49,7 @@
"postcss-loader": "2.0.6",
"promise": "8.0.1",
"react-dev-utils": "^4.1.0",
"style-loader": "0.18.2",
"style-loader": "0.19.0",
"sw-precache-webpack-plugin": "0.11.4",
"url-loader": "0.6.2",
"webpack": "3.5.1",
......
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