From 46d06ae8367af78c7876bfa7356551d603e77d01 Mon Sep 17 00:00:00 2001 From: maxlath Date: Wed, 24 May 2023 15:45:00 +0200 Subject: [PATCH] webpack bundle: remove presumably unnecessary warnings Those "Conflicting order" warnings can be safely ignored in projects "where css ordering has been mitigated through consistent use of scoping or naming conventions", which should be our case with Svelte. Those warnings appeared in c6b864e71 due to the addition of a new dependency to works_browser_section.svelte: import WorkActions from '#entities/components/layouts/work_actions.svelte' Related issue: https://github.com/facebook/create-react-app/issues/5372#issuecomment-685932009 --- bundle/plugins/extract_css.cjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundle/plugins/extract_css.cjs b/bundle/plugins/extract_css.cjs index 46fd1b93f7..54919c9436 100644 --- a/bundle/plugins/extract_css.cjs +++ b/bundle/plugins/extract_css.cjs @@ -3,4 +3,6 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin') module.exports = new MiniCssExtractPlugin({ filename: '[name].[contenthash:8].css', chunkFilename: '[name].[contenthash:8].css', + // See https://github.com/webpack-contrib/mini-css-extract-plugin#ignoreOrder + ignoreOrder: true, })