MCPcopy Create free account
hub / github.com/babel/babel / handler

Function handler

Gulpfile.ts:498–502  ·  view source on GitHub ↗
(importee: string)

Source from the content-addressed store, hash-verified

496 // the UMD version when targeting browsers, but we need to use
497 // the ESM version so that it can be bundled.
498 handler(importee: string) {
499 if (/@jridgewell[\\/].*\.umd\.js$/.test(importee)) {
500 return importee.slice(0, -".umd.js".length) + ".mjs";
501 }
502 },
503 },
504 },
505 rollupNodeResolve({

Callers 2

makeCachedFunctionFunction · 0.85
usingMethod · 0.85

Calls 2

replaceMethod · 0.80
testMethod · 0.45

Tested by

no test coverage detected