(rootDir, relativePath, content)
| 27 | } |
| 28 | |
| 29 | function writeFile(rootDir, relativePath, content) { |
| 30 | const targetPath = path.join(rootDir, relativePath); |
| 31 | fs.mkdirSync(path.dirname(targetPath), { recursive: true }); |
| 32 | fs.writeFileSync(targetPath, content); |
| 33 | } |
| 34 | |
| 35 | function manifestContent() { |
| 36 | return [ |