From f59b79ffd9094fd7bc290b02e9907bfc7fbb3c55 Mon Sep 17 00:00:00 2001 From: Liam Floyd Date: Fri, 20 Dec 2024 09:46:34 -0600 Subject: [PATCH] Set MiniCssExtractPlugin ignoreOrder to true for default config --- 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 9a9b535bd..ce15995d2 100644 --- a/packages/webpack/src/ember-webpack.ts +++ b/packages/webpack/src/ember-webpack.ts @@ -606,6 +606,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, }), ], };