babel-plugin-polyfill-corejs2
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -72,3 +72,3 @@ "use strict"; | ||
function maybeInjectPure(desc, hint, utils) { | ||
const { | ||
let { | ||
pure, | ||
@@ -82,4 +82,7 @@ meta, | ||
return; | ||
} | ||
} // Unfortunately core-js and @babel/runtime-corejs2 don't have the same | ||
// directory structure, so we need to special case this. | ||
if (useBabelRuntime && pure === "symbol/index") pure = "symbol"; | ||
return utils.injectDefaultImport(`${coreJSBase}/${pure}${ext}`, hint); | ||
@@ -86,0 +89,0 @@ } |
{ | ||
"name": "babel-plugin-polyfill-corejs2", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "A Babel plugin to inject imports to core-js@2 polyfills", | ||
@@ -42,3 +42,3 @@ "repository": { | ||
}, | ||
"gitHead": "6b66be1d9fae2af0dfd207adc64ed99f8e1a5924" | ||
"gitHead": "476a0d277ae9bdf705fe2b2cce645125b3c774dc" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
81440
786