({platforms, debug, watch, test})
| 37 | } |
| 38 | |
| 39 | async 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 | |
| 48 | const bundleManifestTask = createTask( |
| 49 | 'bundle-manifest', |
no test coverage detected