Skip to content

Commit 1f3eee1

Browse files
author
chengyu.chengyulia
committed
fix: debug
1 parent 3c9ca83 commit 1f3eee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/webpack-config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ export const getWebpackConfig = async (opts: IOptions) => {
341341
}
342342

343343
if (!globalState.isDevelopment) {
344-
if (globalState.sourceConfig.cssExtract && yargs.argv._[0] !== 'bundle' && yargs.argv._[0] !== 'debug') {
344+
if (globalState.sourceConfig.cssExtract && yargs.argv._[0] !== 'bundle' && !yargs.argv._[0].startsWith('debug')) {
345345
config.plugins.push(
346346
new MiniCssExtractPlugin({
347347
filename: outCssFileName,

0 commit comments

Comments
 (0)