Opal-Estate-Pro/node_modules/babel-preset-stage-0
2019-09-13 11:27:52 +07:00
..
lib style Dashboard 2019-09-13 11:27:52 +07:00
.npmignore style Dashboard 2019-09-13 11:27:52 +07:00
package.json style Dashboard 2019-09-13 11:27:52 +07:00
README.md style Dashboard 2019-09-13 11:27:52 +07:00

babel-preset-stage-0

Babel preset for stage 0 plugins.

Install

npm install --save-dev babel-preset-stage-0

Usage

.babelrc

{
  "presets": ["stage-0"]
}

Via CLI

babel script.js --presets stage-0

Via Node API

require("babel-core").transform("code", {
  presets: ["stage-0"]
});