diff --git a/packages/waku/src/lib/builder/build.ts b/packages/waku/src/lib/builder/build.ts index fbc2a4810..4b19f1372 100644 --- a/packages/waku/src/lib/builder/build.ts +++ b/packages/waku/src/lib/builder/build.ts @@ -490,6 +490,7 @@ const emitHtmlFiles = async ( }, ), ); + htmlFiles.unshift(publicIndexHtmlFile); const loadHtmlHeadCode = ` export function loadHtmlHead(pathname) { return ${JSON.stringify(htmlHeadMap)}[pathname] || ${JSON.stringify(