(dir: string, content: any)
| 1337 | } |
| 1338 | |
| 1339 | export function updatePagesManifest(dir: string, content: any) { |
| 1340 | const serverFile = path.join(dir, getDistDir(), 'server/pages-manifest.json') |
| 1341 | |
| 1342 | return writeFile(serverFile, content) |
| 1343 | } |
| 1344 | |
| 1345 | export function getPageFileFromPagesManifest(dir: string, page: string) { |
| 1346 | const pagesManifest = getPagesManifest(dir) |
no test coverage detected