Tweaking ExtractTextPlugin config

This commit is contained in:
Jeff Avallone 2018-02-17 15:36:15 -05:00
parent d2651c585f
commit c7aca59afc
1 changed files with 4 additions and 1 deletions

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']),
...pagePlugins
],