(output: RolldownOutput)
| 1132 | }) |
| 1133 | |
| 1134 | function getManifestKeys(output: RolldownOutput) { |
| 1135 | return Object.keys( |
| 1136 | JSON.parse( |
| 1137 | (output.output.find((o) => o.fileName === '.vite/manifest.json') as any) |
| 1138 | .source, |
| 1139 | ), |
| 1140 | ) |
| 1141 | } |
| 1142 | |
| 1143 | const result = await builder.build(builder.environments.client) |
| 1144 | expect(getManifestKeys(result as RolldownOutput)).toMatchInlineSnapshot(` |