diff --git a/src/node/build/render.ts b/src/node/build/render.ts index c38af2a3a216..0886fbe360a5 100644 --- a/src/node/build/render.ts +++ b/src/node/build/render.ts @@ -10,7 +10,8 @@ import { PageData, createTitle, notFoundPageData, - mergeHead + mergeHead, + EXTERNAL_URL_RE } from '../shared' import { slash } from '../utils/slash' import { SiteConfig, resolveSiteDataByRoute } from '../config' @@ -104,13 +105,17 @@ export async function renderPage( const preloadLinksString = preloadLinks .map((file) => { - return `` + return `` }) .join('\n ') const prefetchLinkString = prefetchLinks .map((file) => { - return `` + return `` }) .join('\n ')