babel-plugin-runtime
Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
Installation
$ npm install babel-plugin-runtime
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
$ babel --plugins runtime script.js
Via Node API
;