Skip to content

savemysmartphone/babel-preset-save

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"]
});