babel-plugin-transform-runtime
Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
Last updated a year 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 1,427
This Week 30,047
This Month 94,443
Last Day 5,384
Last Week 31,083
Last Month 119,917
Dependencies (1)
Dev Dependencies (1)
Dependents (2922)

Copyright 2014 - 2018 © taobao.org |