{ "compilerOptions": { "target": "ESNext", // 要編譯成的 JS 目標版本 "module": "ESNext", // 要編譯成的 module "moduleResolution": "NodeNext", // module 解析方式, default "classic" "esModuleInterop": true, // module 兼容, 會影響 build 方式 "forceConsistentCasingInFileNames": true, "strict": true, "skipLibCheck": true, "sourceMap": true, "declaration": true, "declarationMap": true, "baseUrl": ".", "paths": { "@/*": ["*"], "@app/*": ["app/*"], "@server/*": ["server/*"], "@models/*": ["packages/models/src/*"], "@game/*": ["packages/game/src/*"], "@file-graph/*": ["packages/file-graph/src/*"] } } }