MCPcopy Index your code
hub / github.com/darkreader/darkreader / manifests

Function manifests

tasks/bundle-manifest.js:39–46  ·  view source on GitHub ↗
({platforms, debug, watch, test})

Source from the content-addressed store, hash-verified

37}
38
39async function manifests({platforms, debug, watch, test}) {
40 const enabledPlatforms = Object.values(PLATFORM).filter((platform) => platform !== PLATFORM.API && platforms[platform]);
41 for (const platform of enabledPlatforms) {
42 const manifest = await patchManifest(platform, debug, watch, test);
43 const destDir = getDestDir({debug, platform});
44 await writeJSON(`${destDir}/manifest.json`, manifest);
45 }
46}
47
48const bundleManifestTask = createTask(
49 'bundle-manifest',

Callers 1

bundle-manifest.jsFile · 0.85

Calls 3

getDestDirFunction · 0.90
writeJSONFunction · 0.90
patchManifestFunction · 0.85

Tested by

no test coverage detected