* Checks if a specific server-side asset exists. * * @param path - The path to the server asset. * @returns A boolean indicating whether the asset exists.
(path: string)
| 42 | * @returns A boolean indicating whether the asset exists. |
| 43 | */ |
| 44 | hasServerAsset(path: string): boolean { |
| 45 | return !!this.manifest.assets[path]; |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * Retrieves the asset for 'index.server.html'. |