From 1614442bd71f3a11f3d36c6060ca8856e4b7145a Mon Sep 17 00:00:00 2001 From: n1474335 Date: Mon, 5 Nov 2018 12:48:22 +0000 Subject: [PATCH] Fixed theming issues --- webpack.config.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 67a12190..bbf3ee77 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -30,6 +30,9 @@ const banner = `/** * limitations under the License. */`; +const vendorCSS = new ExtractTextPlugin("vendor.css"); +const projectCSS = new ExtractTextPlugin("styles.css"); + module.exports = { plugins: [ new webpack.ProvidePlugin({ @@ -42,7 +45,8 @@ module.exports = { raw: true, entryOnly: true }), - new ExtractTextPlugin("styles.css") + vendorCSS, + projectCSS ], resolve: { alias: { @@ -67,7 +71,7 @@ module.exports = { }, { test: /\.css$/, - use: ExtractTextPlugin.extract({ + use: projectCSS.extract({ use: [ { loader: "css-loader" }, { loader: "postcss-loader" }, @@ -76,7 +80,7 @@ module.exports = { }, { test: /\.scss$/, - use: ExtractTextPlugin.extract({ + use: vendorCSS.extract({ use: [ { loader: "css-loader" }, { loader: "sass-loader" }