You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
731 B
18 lines
731 B
{
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"skipLibCheck": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
// 本工程只做类型检查,不产出可运行 JS。
|
|
// 注意:被 tsconfig.json 引用的 composite 工程不允许设 "noEmit"(TS6310),
|
|
// 所以退而求其次 —— 只 emit 声明文件,并把产物关进 node_modules/.tmp,
|
|
// 避免 `tsc -b` 把 vite.config.js / vite.config.d.ts 吐在项目根目录。
|
|
"emitDeclarationOnly": true,
|
|
"outDir": "./node_modules/.tmp/node-types",
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo"
|
|
},
|
|
"include": ["vite.config.ts"]
|
|
}
|
|
|