()
| 188 | let currentWatchFiles; |
| 189 | |
| 190 | const getRelevantWatchFiles = () => { |
| 191 | const watchFiles = new Set(); |
| 192 | jsEntries.forEach((entry) => { |
| 193 | entry.watchFiles?.forEach((file) => watchFiles.add(file)); |
| 194 | }); |
| 195 | return Array.from(watchFiles); |
| 196 | }; |
| 197 | |
| 198 | /** @type {(options: Partial<TaskOptions> & {platforms: TaskOptions['platforms']}, entries?: JSEntry[]) => Promise<void>} */ |
| 199 | const bundleEachPlatform = async ({platforms, debug, watch, log, test}, entries) => { |
no test coverage detected