From a37665d4070f02ae20842184bdc0f2845e8e3735 Mon Sep 17 00:00:00 2001 From: Anita Steiner Date: Thu, 9 Jan 2020 12:44:00 +0100 Subject: [PATCH] Update webpack.config.js --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 7dbb9a1..95542e3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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);