diff --git a/CHANGELOG.md b/CHANGELOG.md index 90e96a8..da4939b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 5.2.0 IN PROGRESS +* Don't worry about the order of CSS imports across modules. Refs STRWEB-110. + ## [5.1.0](https://github.com/folio-org/stripes-webpack/tree/v5.1.0) (2024-03-12) [Full Changelog](https://github.com/folio-org/stripes-webpack/compare/v5.0.0...v5.1.0) 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;