babel-preset-future
Babel preset enabling all new and experimental ES features
Last updated 2 years ago by lapixx .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install babel-preset-future 
SYNC missed versions from official npm registry.

babel-preset-future

Babel preset including es2015, es2016, es2017 (under env) and stage-0 so you can enjoy JavaScript with all of its new and experimental features.

Install

Using Yarn:

yarn add babel-preset-future

Or npm:

npm install babel-preset-future --save

Configuration

Simply add it to your .babelrc file:

{
    "presets": ["future"]
}

Or when using the CLI:

babel app.js --presets future

Options

Options will be passed down to the babel-preset-env preset. This means you can, for example, disable the transformation of ES6 modules to CJS:

{
    "presets": [
        ["future", { "modules": false }]
    ]
}

Current Tags

  • 0.1.0                                ...           latest (2 years ago)

3 Versions

  • 0.1.0                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |