소스 검색

fix: build error

vben 4 년 전
부모
커밋
7bd0b8eb6f
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 0
      index.html
  2. 2 1
      vite.config.ts

+ 0 - 0
public/index.html → index.html


+ 2 - 1
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'