This preset includes the following plugins:
And all plugins from presets:
The gist of Stage 0 is:
Stage 0: strawman
What is it? A free-form way of submitting ideas for evolving ECMAScript. Submissions must come either from a TC39 member or a non-member who has registered as a TC39 contributor.
What’s required? The document must be reviewed at a TC39 meeting (source) and is then added to the page with stage 0 proposals.
This preset includes the following plugins:
And all plugins from presets:
You can check the src/index.js to be sure the plugins used.
npm install --save-dev babel-preset-stage-0
.babelrc (Recommended).babelrc
{
"presets": ["stage-0"]
}
babel script.js --presets stage-0
require("babel-core").transform("code", {
presets: ["stage-0"]
});