MCPcopy Index your code
hub / github.com/developit/microbundle / escapeStringExternals

Function escapeStringExternals

src/index.js:401–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399 const useWorkerLoader = options.workers !== false;
400
401 const escapeStringExternals = ext =>
402 ext instanceof RegExp ? ext.source : escapeStringRegexp(ext);
403 const externalPredicate = new RegExp(
404 `^(${external.map(escapeStringExternals).join('|')})($|/)`,
405 );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…