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

Function handler

Gulpfile.ts:549–553  ·  view source on GitHub ↗
(importee: string)

Source from the content-addressed store, hash-verified

547 // the UMD version when targeting browsers, but we need to use
548 // the ESM version so that it can be bundled.
549 handler(importee: string) {
550 if (/@jridgewell[\\/].*\.umd\.js$/.test(importee)) {
551 return importee.slice(0, -".umd.js".length) + ".mjs";
552 }
553 },
554 },
555 },
556 rollupNodeResolve({

Callers 2

makeCachedFunctionFunction · 0.85
usingMethod · 0.85

Calls 2

replaceMethod · 0.80
testMethod · 0.45

Tested by

no test coverage detected