Babel conf for all focus projects.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

babel-preset-focus

Babel preset for focus plugins

Dependencies Status Dev Dependencies Status Peer Dependencies Status

Install

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

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["focus"]
}

Via CLI

$ babel script.js --presets focus

Via Node API

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