Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Commit

Permalink
fix(build): Fixes CSS extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-heimbuch committed May 19, 2018
1 parent 76c6b89 commit a4e6a7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ module.exports = Object.assign({}, baseConfig, {
plugins: [
...baseConfig.plugins,

new ExtractTextPlugin('style.css'),
new ExtractTextPlugin({
filename: 'style.css',
allChunks: true
}),

new webpack.DefinePlugin({
BASE: JSON.stringify(get(process.env, 'BASE', '.'))
Expand Down

0 comments on commit a4e6a7f

Please sign in to comment.