babel-preset-min
A Preset containing default optimizations defined in babel-minify
Last updated 8 years ago by boopathi .
MIT · Repository · Original npm · Tarball · package.json
$ npm install babel-preset-min 
SYNC missed versions from official npm registry.

babel-preset-min

This is a preset that uses the default options of babel-minify

Check babel-minify#options to find the default transformations applied or to find what exactly this preset will do.

WARNING: This might cause some regression, depending on what other plugins and presets you use with this preset - because all the plugins are applied in one pass by default in babel. You can enable the passPerPreset option in babel, but then all the babel-minify plugins are still applied in one pass. So, consider using babel-minify NodeAPI or CLI or Gulp task with the options - plugins: [] and presets: [] to pass your other plugins and presets.

Install

npm install babel-preset-min --save-dev

.babelrc

{
  "presets": ["min"],
  "comments": false,
  "compact": true,
  "minified": true,
  "passPerPreset": true
}

Current Tags

  • 0.1.15                                ...           latest (8 years ago)

25 Versions

  • 0.1.15                                ...           8 years ago
  • 0.1.14                                ...           8 years ago
  • 0.1.13                                ...           8 years ago
  • 0.1.12                                ...           8 years ago
  • 0.1.11                                ...           8 years ago
  • 0.1.10                                ...           8 years ago
  • 0.1.9                                ...           8 years ago
  • 0.1.8                                ...           8 years ago
  • 0.1.7                                ...           8 years ago
  • 0.1.6                                ...           8 years ago
  • 0.1.5                                ...           8 years ago
  • 0.1.4                                ...           8 years ago
  • 0.1.3                                ...           8 years ago
  • 0.1.2                                ...           8 years ago
  • 0.1.1                                ...           8 years ago
  • 0.1.0                                ...           8 years ago
  • 0.0.9                                ...           8 years ago
  • 0.0.7                                ...           8 years ago
  • 0.0.6                                ...           8 years ago
  • 0.0.5                                ...           8 years ago
  • 0.0.4                                ...           8 years ago
  • 0.0.3                                ...           8 years ago
  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           8 years ago
  • 0.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE