fix(webpack): remove MiniCssExtractPlugin.loader options (#2217) (#2218)

Co-authored-by: sanfordliao <sanfordliao@tencent.com>
This commit is contained in:
sanfengliao 2021-11-30 23:39:45 +08:00 committed by GitHub
parent 29a2eb3dc1
commit cad09fe9b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,8 +104,7 @@ function createCssLoadersRule (ctx: WebpackConfigContext, cssLoaderOptions) {
return [ return [
{ {
loader: MiniCssExtractPlugin.loader, loader: MiniCssExtractPlugin.loader
options: { reloadAll: ctx.isDev, hot: ctx.isDev }
}, },
cssLoader cssLoader
] ]