From 689ad1482177f6c9db00659f1a178f837b1b5240 Mon Sep 17 00:00:00 2001 From: Liam Floyd <127987457+lfloyd117@users.noreply.github.com> Date: Fri, 20 Dec 2024 16:37:42 -0600 Subject: [PATCH] Set MiniCssExtractPlugin ignoreOrder to true for default config (#2220) --- packages/webpack/src/ember-webpack.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/webpack/src/ember-webpack.ts b/packages/webpack/src/ember-webpack.ts index e7c28ecf7..d739e07f9 100644 --- a/packages/webpack/src/ember-webpack.ts +++ b/packages/webpack/src/ember-webpack.ts @@ -610,6 +610,8 @@ const Webpack: PackagerConstructor = class Webpack implements Packager // but in fastboot, we need to disable that in favor of doing our // own insertion of `` tags in the HTML runtime: variant.runtime === 'browser', + // It's not reasonable to make assumptions about order when doing CSS via modules + ignoreOrder: true, }), ], };