@mindev/min-plugin-uglifyjs
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

min plugin-uglifyjs

安装

$ npm install @mindev/min-plugin-uglifyjs --save-dev

配置 min.config.js

module.exports = {
  plugins: {
    uglifyjs: {
      filter: new RegExp('\.(js)$'),
      validate (options: PluginHelper.Options) {
        return true
      },
      config: {
        warnings: false
      }
    }
  }
}

参数说明

UglifyJS

Tip

  • min cli 2.x 版本开始支持

Readme

Keywords

Package Sidebar

Install

npm i @mindev/min-plugin-uglifyjs

Weekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

4.31 kB

Total Files

5

Last publish

Collaborators

  • badeng
  • osmn00
  • cds803