UNPKG

babelify-es6-polyfill

Version:

A pure ES5 and ES6 polyfill for babelify that only includes standardised features

11 lines (7 loc) 211 B
'use strict'; require('./shim.js'); require('regenerator/runtime'); if (global._babelPolyfill) { throw new Error('only one instance of babel/polyfill is allowed'); } global._babelPolyfill = true;