agentk / babel-preset-node5

Babel preset for Node 5.x (ES6 + React)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Babel presets for Node 5.x

Node 5.x brings ~59% native ES6/ES2015 coverage. This preset for Babel 6 attempts to bridge the gap for the much of the remaining 41% using Babel plug-ins.

Motivation

Babel 6.x is awesome, but simply including the ES2015 preset means you're transpiling features that your Node 5.x installation can already do faster and natively, replacing them with inferior / old code.

This preset complements existing V8-native functionality - it doesn't work around it.

The end result is nearly always a faster build and script execution time.

Key features:

Usage:

About

Babel preset for Node 5.x (ES6 + React)


Languages

Language:JavaScript 100.0%