文件配置
This commit is contained in:
1 parent
9b156a32c9
commit
0be0844f0f
3 files changed
+4
-15
No files matched your search
@@ -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/
|
||||
|
||||
Vendored
-2
@@ -1,2 +0,0 @@
|
||||
declare const _default: import("vite").UserConfig;
|
||||
export default _default;
|
||||
@@ -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'],
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user