From 81c15c4f646d1fd75c18c0e9bb5d4c79ea5630cf Mon Sep 17 00:00:00 2001 From: daishi Date: Fri, 19 Jan 2024 13:53:23 +0900 Subject: [PATCH] fix: add already created index.html in the list --- packages/waku/src/lib/builder/build.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/waku/src/lib/builder/build.ts b/packages/waku/src/lib/builder/build.ts index 6c2bf2701..0b4f99f45 100644 --- a/packages/waku/src/lib/builder/build.ts +++ b/packages/waku/src/lib/builder/build.ts @@ -480,6 +480,7 @@ const emitHtmlFiles = async ( }, ), ); + htmlFiles.unshift(publicIndexHtmlFile); const loadHtmlHeadCode = ` export function loadHtmlHead(pathname) { return ${JSON.stringify(htmlHeadMap)}[pathname] || ${JSON.stringify(