Skip to content

🔮 Babel preset enabling all new and experimental ES features

Notifications You must be signed in to change notification settings

tkers/babel-preset-future

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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 }]
    ]
}

About

🔮 Babel preset enabling all new and experimental ES features

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published