diff --git a/public/index.html b/index.html similarity index 100% rename from public/index.html rename to index.html diff --git a/vite.config.ts b/vite.config.ts index 9579cd0f5e1..1bd597d7ffc 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -64,7 +64,8 @@ const viteConfig: UserConfig = { * `index.html` does not exist (e.g. serving vite assets from a different host) * @default 'index.html' */ - entry: 'public/index.html', + // TODO build error + // entry: './public/index.html', /** * 端口号 * @default '3000'