@poi/plugin-babel-minify
Use [babel-minify](https://github.com/babel/babel-minify) to minimize JavaScript.
Last updated 2 years ago by egoist .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @poi/plugin-babel-minify 
SYNC missed versions from official npm registry.

plugin-babel-minify

Use babel-minify to minimize JavaScript.

Install

yarn add @poi/plugin-babel-minify --dev

Usage

This plugin will replace UglifyjsPlugin with babel-minify-webpack-plugin for you:

// poi.config.js
module.exports = {
  plugins: [
    require('@poi/plugin-babel-minify')()
  ]
}

Then it will compress JS code when you run poi build.

It accepts the same options as which in babel-minify-webpack-plugin:

require('poi-plugin-babel-minify')(minifyOpts, pluginOpts)

License

MIT © EGOIST

Current Tags

  • 10.0.1                                ...           latest (2 years ago)
  • 10.0.0-beta.10                                ...           next (2 years ago)

12 Versions

  • 10.0.1                                ...           2 years ago
  • 10.0.0                                ...           2 years ago
  • 10.0.0-rc.1                                ...           2 years ago
  • 10.0.0-rc.0                                ...           2 years ago
  • 10.0.0-beta.10                                ...           2 years ago
  • 10.0.0-beta.9                                ...           2 years ago
  • 10.0.0-beta.8                                ...           3 years ago
  • 10.0.0-beta.7                                ...           3 years ago
  • 10.0.0-beta.2                                ...           3 years ago
  • 10.0.0-beta.1.0                                ...           3 years ago
  • 10.0.0-alpha.1                                ...           3 years ago
  • 0.0.0                                ...           3 years ago
Downloads
Today 1
This Week 2
This Month 2
Last Day 0
Last Week 0
Last Month 6
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |