diff --git a/CHANGELOG.md b/CHANGELOG.md index a800546..00e73b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change history for stripes-webpack +## 5.2.0 + +* Don't worry about the order of CSS imports across modules. Refs STRWEB-110. + ## 5.1.0 IN PROGRESS * Add an entry point for stripes-core's service worker. Refs STRWEB-99. diff --git a/webpack.config.cli.prod.js b/webpack.config.cli.prod.js index ef1b3b3..5bd7cd7 100644 --- a/webpack.config.cli.prod.js +++ b/webpack.config.cli.prod.js @@ -60,7 +60,7 @@ const buildConfig = (stripesConfig) => { prodConfig.module.rules.push(esbuildLoaderRule(allModulePaths)); prodConfig.plugins.push( - new MiniCssExtractPlugin({ filename: 'style.[contenthash].css' }) + new MiniCssExtractPlugin({ filename: 'style.[contenthash].css', ignoreOrder: true }) ); return prodConfig;