mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-11-30 10:48:12 +08:00
fix: 3.0的css-minimizer-webpack-plugin不提供sourcemap配置
This commit is contained in:
parent
6b8852afec
commit
2dd7207abf
@ -102,9 +102,7 @@ export default function createCssWebpackConfig({
|
||||
if (!isDev) {
|
||||
webpackConfig.optimization
|
||||
.minimizer('css')
|
||||
.use(require.resolve('css-minimizer-webpack-plugin'), [{
|
||||
sourceMap: config.devtool !== false
|
||||
}]);
|
||||
.use(require.resolve('css-minimizer-webpack-plugin'), [{}]);
|
||||
}
|
||||
|
||||
return (options) => {
|
||||
|
Loading…
Reference in New Issue
Block a user