| 1 | import { getFontTags } from "fonts" |
| 2 | |
| 3 | export interface HTMLProps { |
| 4 | cdnUrl: string |
| 5 | content: { |
| 6 | body?: string |
| 7 | sharifyData?: string |
| 8 | head?: string |
| 9 | linkPreloadTags?: string[] |
| 10 | scripts?: string |
| 11 | style?: string |
| 12 | } |
| 13 | disable: { |
| 14 | analytics: boolean |
| 15 | segment: boolean |
| 16 | stripe: boolean |
| 17 | scripts: boolean |
| 18 | thirdParties: boolean |
| 19 | } |
| 20 | env: string |
| 21 | fontUrl: string |
| 22 | icons: { |
| 23 | appleTouchIcon: string |
| 24 | favicon: string |
| 25 | faviconSVG: string |
| 26 | } |
| 27 | imageCdnUrl: string |
| 28 | manifest: { |
| 29 | browserconfig: string |
| 30 | openSearch: string |
| 31 | webmanifest: string |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | export function buildHtmlTemplate({ |
| 36 | cdnUrl, |
nothing calls this directly
no outgoing calls
no test coverage detected