From 4afc6daa28472437d6f3eda90a09af913ba8acf2 Mon Sep 17 00:00:00 2001 From: RiESAEX <2597245950@qq.com> Date: Tue, 27 Dec 2022 08:59:06 +0000 Subject: [PATCH] fix: css --- .../src/plugins/commands/webpackConfig/css.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fes-builder-webpack/src/plugins/commands/webpackConfig/css.js b/packages/fes-builder-webpack/src/plugins/commands/webpackConfig/css.js index 1f0a3504..ca8ab814 100644 --- a/packages/fes-builder-webpack/src/plugins/commands/webpackConfig/css.js +++ b/packages/fes-builder-webpack/src/plugins/commands/webpackConfig/css.js @@ -10,7 +10,7 @@ // 根据 entry 将文件输出到不同的文件夹 import { deepmerge } from '@fesjs/utils'; -import { CssMinimizerPlugin } from 'css-minimizer-webpack-plugin'; +import CssMinimizerPlugin from 'css-minimizer-webpack-plugin'; function createRules({ isDev, webpackConfig, config, lang, test, loader, options, browserslist, styleLoaderOption }) { function applyLoaders(rule, cssLoaderOption = {}) {