diff --git a/babelRegisterOnly.js b/babelRegisterOnly.js index f862bb75..bb973ba4 100644 --- a/babelRegisterOnly.js +++ b/babelRegisterOnly.js @@ -8,7 +8,9 @@ */ 'use strict'; -require('babel-polyfill'); +Array.prototype.values || require('core-js/fn/array/values'); +Object.entries || require('core-js/fn/object/entries'); +Object.values || require('core-js/fn/object/values'); var fs = require('fs'); var path = require('path');