MCPcopy Create free account
hub / github.com/codesandbox/codesandbox-client / require

Method require

packages/node-services/src/module.ts:82–84  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

80 }
81
82 require(path: string) {
83 return Module._load(path, this);
84 }
85
86 _compile(content: string, filename: string) {
87 const _self = this;

Callers 9

rFunction · 0.45
nFunction · 0.45
workerMain.jsFile · 0.45
nFunction · 0.45
nFunction · 0.45
workerMain.jsFile · 0.45
less-4.1.2.min.jsFile · 0.45
requireAMDModuleFunction · 0.45
loadFilesFunction · 0.45

Calls 1

_loadMethod · 0.80

Tested by

no test coverage detected