MCPcopy Index your code
hub / github.com/ptmt/react-native-macos / virtualModule

Function virtualModule

packager/src/ModuleGraph/output/util.js:76–85  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

74// with the given source code.
75exports.virtualModule = virtualModule;
76function virtualModule(code: string) {
77 return {
78 dependencies: [],
79 file: {
80 code,
81 path: '',
82 type: 'script',
83 },
84 };
85}

Callers 2

preludeFunction · 0.85
util.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…