babel/packages/babel-plugin-transform-runtime
Huáng Jùnliàng 4bf36e64da
Create File class for babel helpers (#10575)
* add test

* fix: pass File to helper traverser

* pass babel.File to helpers.ensure
2020-03-17 09:58:46 +01:00
..
2020-01-13 22:36:19 +01:00

@babel/plugin-transform-runtime

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

See our website @babel/plugin-transform-runtime for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-transform-runtime

or using yarn:

yarn add @babel/plugin-transform-runtime --dev