{ "compilerOptions": { "target": "ESNext", "module": "ESNext", "noImplicitAny": false, "esModuleInterop": true, "moduleResolution": "bundler", "removeComments": true, "preserveConstEnums": true, "ignoreDeprecations": "5.0", "jsx": "react", "noEmit": true, "allowImportingTsExtensions": true, "allowJs": false, "suppressImplicitAnyIndexErrors": true, "typeRoots": ["node_modules/@types"], "useDefineForClassFields": true, "lib": ["ES2020", "DOM", "DOM.Iterable"], "skipLibCheck": true, /* Bundler mode */ "resolveJsonModule": true, "isolatedModules": true, /* Linting */ // "strict": true, 严格模式 "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, "forceConsistentCasingInFileNames": true, // "paths": { // 内部核心模块导出 "yunzai/image/types": ["./image/types.js"], "yunzai/config": ["./src/config/index.js"], "yunzai/db": ["./src/db/index.js"], "yunzai/mys": ["./src/mys/index.js"], "yunzai/utils": ["./src/utils/index.js"], "yunzai/core": ["./src/core/index.js"], // 外部模块 待移除 "#miao": ["./plugins/miao-plugin/components/index.js"], "#miao.models": ["./plugins/miao-plugin/models/index.js"] } }, "ts-node": { "esm": true, "transpileOnly": true, "experimentalSpecifierResolution": "node" }, "include": ["src", "image", "lib", "renderers", "plugins"] }