Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Commit 70f4794

Browse files
committed
fix: type error
we should really have a normalized options type
1 parent bddc0e0 commit 70f4794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webpack/src/presets/style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function extractCSS (ctx: WebpackConfigContext) {
2929
config.plugins.push(new MiniCssExtractPlugin({
3030
filename: fileName(ctx, 'css'),
3131
chunkFilename: fileName(ctx, 'css'),
32-
...options.webpack.extractCSS
32+
...options.webpack.extractCSS === true ? {} : options.webpack.extractCSS
3333
}))
3434
}
3535
}

0 commit comments

Comments
 (0)