Skip to content

Commit 0109436

Browse files
authored
Add allChunks: true
1 parent 4ac149c commit 0109436

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/webpack.client.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ if (process.env.NODE_ENV === 'production') {
3333
}
3434

3535
config.plugins.push(
36-
new ExtractTextPlugin('styles.css'),
36+
new ExtractTextPlugin({
37+
filename:'styles.css',
38+
allChunks: true
39+
}),
3740
// this is needed in webpack 2 for minifying CSS
3841
new webpack.LoaderOptionsPlugin({
3942
minimize: true

0 commit comments

Comments
 (0)