diff --git a/programs/develop/webpack/plugin-css/css-tools/sass.ts b/programs/develop/webpack/plugin-css/css-tools/sass.ts index b0f33e69c..dccc82da7 100644 --- a/programs/develop/webpack/plugin-css/css-tools/sass.ts +++ b/programs/develop/webpack/plugin-css/css-tools/sass.ts @@ -101,7 +101,7 @@ export async function maybeUseSass( use: await commonStyleLoaders(projectPath, { loader: 'sass-loader', mode, - useMiniCssExtractPlugin: true + useMiniCssExtractPlugin: mode === 'production' }) } ]