babel-preset-urban

1.0.1 • Public • Published

npm License DependencyStatus js-standard-style

babel-preset-urban

Babel preset for es2015 transforms, with a bit of react, class props and async shizzle thrown in

Install

npm i -D babel-preset-urban

Usage

Add the following preset to your babel config

"babel"{
  "presets": [ "urban" ]
}

Polyfill

The async transformation uses regenerator so any code transformed using this preset requires the runtime. The easiest way to include this is to use the babel-polyfill.

The polyfill is only required if you actually write any async code.

npm i babel-polyfill
import 'babel-polyfill'

Package Sidebar

Install

npm i babel-preset-urban

Weekly Downloads

5

Version

1.0.1

License

ISC

Last publish

Collaborators

  • mattstyles