diff options
author | Robin Appelman <robin@icewind.nl> | 2017-08-27 17:57:47 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-08-27 17:57:47 +0300 |
commit | 224f192dd71c8bbfa4d92f9b6fb0278c7061db9a (patch) | |
tree | 6577e7b96d08ddad6af1f98b62f930ef83285ec6 /webpack.config.js | |
parent | b073588231df7da81ca1c80deb2657101a73e33e (diff) |
refactor plugin loading
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js index 97817c5..1194c8f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -17,7 +17,10 @@ module.exports = { plugins: [ new CleanWebpackPlugin(['build']), new webpack.NamedModulesPlugin(), - new ExtractTextPlugin("styles.css"), + new ExtractTextPlugin({ + filename: "styles.css", + allChunks: true + }), new UglifyJSPlugin() ], module: { |