Home

Awesome

babel-preset-es2015-ie

Babel preset for all es2015 plugins that works with IE>=9.

Install

$ npm install --save-dev babel-preset-es2015-ie

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["es2015-ie"]
}

Via CLI

$ babel script.js --presets es2015-ie

Via Node API

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