wanguliux_workout-block/tsconfig.json

25 lines
790 B
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// tsconfig.jsonTypeScript 编译配置JSONC允许本行这样的 // 注释)。
// 作用:规定编译目标、模块格式、严格程度等。注意这里的 "noEmit": true——
// 实际打包由 esbuild 完成tsc 只用于类型检查,不产出文件。
{
"compilerOptions": {
"target": "ES2018",
"module": "commonjs",
"lib": ["DOM", "ES2018"],
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
},
"types": ["node", "vitest"]
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "main.js"]
}