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

Function handler

Gulpfile.ts:501–505  ·  view source on GitHub ↗
(importee: string)

Source from the content-addressed store, hash-verified

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

Callers 2

makeCachedFunctionFunction · 0.85
usingMethod · 0.85

Calls 2

replaceMethod · 0.80
testMethod · 0.45

Tested by

no test coverage detected