Skip to content

v5.0.0

Compare
Choose a tag to compare
@zhongzhi107 zhongzhi107 released this 10 Jun 09:53
· 46 commits to master since this release

BREAKING CHANGES

  • css-loader@>1.0 内置不支持 css 压缩,需要引入 postcss-nano 来做压缩
  • 删除 cssLoaderOptions.minimize. minifyFontValues = false
  • CSS压缩功能失效,需要使用postcss-nano来压缩 (3f90f18),在 config/postcss.config.js 增加 nano 配置:
    plugins: {
      nano: process.env.NODE_ENV === 'local' ? false : {}
    }

Bug Fixes

  • 修复 open 包存在的安全漏洞 (44026f0)

Features

  • css-loader@^2.1.1