文件配置

This commit is contained in:
tianmo committed 2026-08-27 17:26:56 +08:00
1 parent 9b156a32c9
commit 0be0844f0f
3 files changed
+4 -15

No files matched your search

+4
View File
@@ -4,6 +4,10 @@ node_modules/
dist/
# TypeScript build cache
*.tsbuildinfo
# Generated Vite config output (source is vite.config.ts)
vite.config.js
vite.config.d.ts
# Vite and tooling caches
.vite/
.cache/
-2
View File
@@ -1,2 +0,0 @@
declare const _default: import("vite").UserConfig;
export default _default;
-13
View File
@@ -1,13 +0,0 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
export default defineConfig({
plugins: [vue()],
server: {
port: 5173,
host: true,
},
// 让 node_modules 里的 ESM 依赖能直接 work
optimizeDeps: {
include: ['@esotericsoftware/spine-pixi-v7'],
},
});