MCPcopy Index your code
hub / github.com/TrySound/rollup-plugin-string / transform

Function transform

index.js:13–20  ·  view source on GitHub ↗
(code, id)

Source from the content-addressed store, hash-verified

11 name: "string",
12
13 transform(code, id) {
14 if (filter(id)) {
15 return {
16 code: `export default ${JSON.stringify(code)};`,
17 map: { mappings: "" }
18 };
19 }
20 }
21 };
22}
23

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…