/babel-preset-save

babel6 preset for Save.co projects

Primary LanguageJavaScript

babel-preset-save

A babel preset for transforming your JavaScript for Save.co applications

Install

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

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["save"]
}

Via CLI

$ babel script.js --presets save

Via Node API

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