Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 395 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 395 Bytes

babel-preset-stage-3

Babel preset for stage 3 plugins.

Install

$ npm install --save-dev babel-preset-stage-3

Usage

Via .babelrc (Recommended)

.babelrc

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

Via CLI

$ babel script.js --presets stage-3

Via Node API

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