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

Function prelude

packager/src/ModuleGraph/ModuleGraph.js:97–102  ·  view source on GitHub ↗
(optimize)

Source from the content-addressed store, hash-verified

95}
96
97function prelude(optimize) {
98 return virtualModule(
99 `var __DEV__=${String(!optimize)},` +
100 '__BUNDLE_START_TIME__=global.nativePerformanceNow?global.nativePerformanceNow():Date.now();'
101 );
102}

Callers 1

ModuleGraph.jsFile · 0.85

Calls 1

virtualModuleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…