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

Commit

Permalink
Merge pull request #80 from phovea/anita-steiner-patch-1
Browse files Browse the repository at this point in the history
Update webpack.config.js
  • Loading branch information
puehringer authored Jan 9, 2020
2 parents b90dfdb + 7de9207 commit f9e8292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ function generateWebpack(options) {
if (!options.bundle || options.isApp) {
// extract the included css file to own file
const p = new ExtractTextPlugin({
filename: (options.isApp || options.moduleBundle ? '[name]' : pkg.name) + (options.min && !options.nosuffix ? '.min' : '') + '.css',
filename: (options.isApp || options.moduleBundle ? 'style' : pkg.name) + (options.min && !options.nosuffix ? '.min' : '') + '.css',
allChunks: true // there seems to be a bug in dynamically loaded chunk styles are not loaded, workaround: extract all styles from all chunks
});
base.plugins.push(p);
Expand Down

0 comments on commit f9e8292

Please sign in to comment.