refactor(vite): 替换index.html为vocd.html并更新vite配置

- 删除旧的index.html文件
- 新增vocd.html作为新的入口文件
- 更新vite.config.ts配置,设置publicDir为false并指定新的入口文件
This commit is contained in:
hanshiyang committed 2025-11-19 16:42:23 +08:00
1 parent 1c14e28469
commit 989ae39cd7
2 files changed
+8

No files matched your search

+8
View File
@@ -39,6 +39,14 @@ export default defineConfig(({ mode }) => {
} }
return { return {
base: `/${name}/`, base: `/${name}/`,
publicDir: false,
build: {
rollupOptions: {
input: {
main: path.resolve(__dirname, 'vocd.html')
}
}
},
server: { server: {
host: '0.0.0.0' host: '0.0.0.0'
} }
View File
File renamed without changes.