From c7aca59afcf905331c02590e4624e8b9c9c762e2 Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Sat, 17 Feb 2018 15:36:15 -0500 Subject: [PATCH] Tweaking ExtractTextPlugin config --- webpack.common.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webpack.common.js b/webpack.common.js index a263857..5259876 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -83,7 +83,10 @@ module.exports = { } } }), - new ExtractTextPlugin('css/[name].[contenthash:8].css'), + new ExtractTextPlugin({ + filename: 'css/[name].[contenthash:8].css', + allChunks: true + }), new CopyPlugin(['./public']), ...pagePlugins ],