{ "compilerOptions": { "composite": true, // 对于引用项目必须设置该属性 "skipLibCheck": true, // 跳过对 .d.ts 文件的类型检查 "module": "ESNext", // 使用 ES Module 格式打包编译后的文件 "moduleResolution": "Node", // 使用 Node/bundler 的模块解析策略 "allowSyntheticDefaultImports": true // 允许使用 import 导入使用 export = 导出的默认内容 }, "include": ["build/*.ts", "types/*.d.ts", "vite.config.ts"] }