3.0.2 • Published 4 years ago

remove-ui-module-loader v3.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

介绍

remove-ui-module 这个插件是用来解决 css-module 把第三方 ui 库的样式也 hash的情况

options

npm

  • moduleName: 这个是 ui 库的前缀如 el-
  • diretiveRule: 自定义的后缀名和 css-module 保持对应,默认是_.{8}

expamle

 {
    loader: 'remove-ui-module-loader',
    options: {
        moduleName: "el-",
        diretiveRule: /__.{8}_json/
    }
}