From 52c4829011d372c660cc089a43e3dd93f620c115 Mon Sep 17 00:00:00 2001 From: Andrey Okonetchnikov Date: Wed, 30 Nov 2016 12:33:23 +0100 Subject: [PATCH] Enabled HMR for styles by disabling extracting them to a CSS file --- spec/index.html | 1 - webpack.config.development.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/index.html b/spec/index.html index d16573f46..3747b1002 100644 --- a/spec/index.html +++ b/spec/index.html @@ -15,7 +15,6 @@ - diff --git a/webpack.config.development.js b/webpack.config.development.js index 60c96d017..aafc6a2c0 100644 --- a/webpack.config.development.js +++ b/webpack.config.development.js @@ -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({