This commit is contained in:
RiESAEX 2022-12-27 08:59:06 +00:00
parent 133f1be268
commit 4afc6daa28

View File

@ -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 = {}) {