We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c9ca83 commit 1f3eee1Copy full SHA for 1f3eee1
src/utils/webpack-config.ts
@@ -341,7 +341,7 @@ export const getWebpackConfig = async (opts: IOptions) => {
341
}
342
343
if (!globalState.isDevelopment) {
344
- if (globalState.sourceConfig.cssExtract && yargs.argv._[0] !== 'bundle' && yargs.argv._[0] !== 'debug') {
+ if (globalState.sourceConfig.cssExtract && yargs.argv._[0] !== 'bundle' && !yargs.argv._[0].startsWith('debug')) {
345
config.plugins.push(
346
new MiniCssExtractPlugin({
347
filename: outCssFileName,
0 commit comments