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

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
we should really have a normalized options type
  • Loading branch information
danielroe committed Jun 13, 2022
1 parent bddc0e0 commit 70f4794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack/src/presets/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function extractCSS (ctx: WebpackConfigContext) {
config.plugins.push(new MiniCssExtractPlugin({
filename: fileName(ctx, 'css'),
chunkFilename: fileName(ctx, 'css'),
...options.webpack.extractCSS
...options.webpack.extractCSS === true ? {} : options.webpack.extractCSS
}))
}
}
Expand Down

0 comments on commit 70f4794

Please sign in to comment.