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

Function handler

Gulpfile.ts:507–511  ·  view source on GitHub ↗
(importee: string)

Source from the content-addressed store, hash-verified

505 // the UMD version when targeting browsers, but we need to use
506 // the ESM version so that it can be bundled.
507 handler(importee: string) {
508 if (/@jridgewell[\\/].*\.umd\.js$/.test(importee)) {
509 return importee.slice(0, -".umd.js".length) + ".mjs";
510 }
511 },
512 },
513 },
514 rollupNodeResolve({

Callers 2

makeCachedFunctionFunction · 0.85
usingMethod · 0.85

Calls 2

replaceMethod · 0.80
testMethod · 0.45

Tested by

no test coverage detected