Skip to content

Commit

Permalink
Enabled HMR for styles by disabling extracting them to a CSS file
Browse files Browse the repository at this point in the history
  • Loading branch information
okonet committed Nov 30, 2016
1 parent 292b838 commit 52c4829
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion spec/index.html
Expand Up @@ -15,7 +15,6 @@
<meta http-equiv="cleartype" content="on">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
<link rel="stylesheet" href="/build/spec.css">
</head>
<body>
<script src="/build/spec.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.development.js
Expand Up @@ -47,7 +47,7 @@ module.exports = {
];
},
plugins: [
new ExtractTextPlugin('spec.css', { allChunks: true }),
new ExtractTextPlugin('spec.css', { allChunks: true, disable: true }),
new webpack.HotModuleReplacementPlugin(),
new webpack.NoErrorsPlugin(),
new webpack.DefinePlugin({
Expand Down

0 comments on commit 52c4829

Please sign in to comment.