A Babel 6 plugin that enables extending built-in JavaScript types like Error and Array, which require special handling due to their native constructor behavior. It uses static analysis to detect class extensions of globals you specify, optionally with an approximate mode for IE <= 10. This plugin is a specialized tool for a now-legacy Babel version (6.x) and has been superseded by native class support in modern JavaScript and Babel 7+. No active maintenance since 2016.
npm install babel-plugin-transform-builtin-extendVerified import paths — ran on the pinned version, not inferred.
Shows Babel 6 configuration to extend Error and Array classes using static analysis.
Upgrade to Babel 7+ and use appropriate modern plugins.
Avoid using approximate mode unless targeting legacy browsers and understand the limitations.
Do not rely on static inheritance from extended built-ins if targeting IE <= 10.
npm install babel-plugin-transform-builtin-extend --save-dev and ensure Babel 6 is used.
Enable the 'approximate' option in plugin config, with caveats.
No dependency data recorded yet.