mirror of
https://github.com/ILoveBingLu/CipherTalk.git
synced 2026-05-19 02:40:13 +08:00
feat: 添加优化依赖配置,指定入口文件为 index.html
This commit is contained in:
@@ -14,6 +14,9 @@ const external = [
|
||||
|
||||
export default defineConfig({
|
||||
base: './',
|
||||
optimizeDeps: {
|
||||
entries: ['index.html']
|
||||
},
|
||||
server: {
|
||||
port: 3000,
|
||||
strictPort: false // 如果3000被占用,自动尝试下一个
|
||||
|
||||
Reference in New Issue
Block a user