MCPcopy Index your code
hub / github.com/pyscript/pyscript / dropSourceMap

Function dropSourceMap

core/rollup/3rd-party.cjs:13–14  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

11const v = (name) => devDependencies[name].replace(/[^\d.]/g, "");
12
13const dropSourceMap = (str) =>
14 str.replace(/^\/.+? sourceMappingURL=\/.+$/m, "");
15
16// Fetch a module via jsdelivr CDN `/+esm` orchestration
17// then sanitize the resulting outcome to avoid importing

Callers 1

3rd-party.cjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected