/babel-helper-modules-es3

Babel helpers as external modules

Primary LanguageJavaScript

babel-helper-modules

Babel helpers as external 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().

Installation and usage

See babel-plugin-transform-helper-modules,