Tweaking ExtractTextPlugin config

This commit is contained in:
Jeff Avallone 2018-02-17 15:36:15 -05:00
parent d2651c585f
commit c7aca59afc

View File

@ -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']), new CopyPlugin(['./public']),
...pagePlugins ...pagePlugins
], ],