Babel helpers as external modules

Downloads in past


6.0.07 years ago7 years agoMinified + gzip package size for babel-helper-modules in KB


Babel Helper Modules
Regard as an alternative to babel-runtime.
A distribution of the modules from babel-helpers, compiled into ES5 using a modified script from babel-runtime.
This is meant to be used in conjunction with babel-plugin-transform-helper-modules, in order to reuse the helpers when creating bundles without including the core-js library etc. like babel-runtime do. This lets you choose which polyfill you want, for instance the babel-polyfill, which includes a version of core-js that lets you use polyfilled instance methods like Array.prototype.find().