babel-plugin-transform-runtime
Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
Last updated 2 years ago by loganfsmyth .
MIT · Repository · Original npm · Tarball
$ cnpm install babel-plugin-transform-runtime 
SYNC missed versions from official npm registry.

babel-plugin-transform-runtime

Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals

Installation

$ npm install babel-plugin-transform-runtime

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["transform-runtime"]
}

Via CLI

$ babel --plugins transform-runtime script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-runtime"]
});
Downloads
Today 810
This Week 810
This Month 78,372
Last Day 1,400
Last Week 34,574
Last Month 165,925
Dependencies (1)
Dev Dependencies (1)
Dependents (3104)

Copyright 2014 - 2016 © taobao.org |