Skip to content

Commit

Permalink
Fix Sass modules template not working
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Sep 22, 2024
1 parent 13b2b0b commit fecf8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/develop/webpack/plugin-css/css-tools/sass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export async function maybeUseSass(
use: await commonStyleLoaders(projectPath, {
loader: 'sass-loader',
mode,
useMiniCssExtractPlugin: true
useMiniCssExtractPlugin: mode === 'production'
})
}
]
Expand Down

0 comments on commit fecf8fe

Please sign in to comment.