2025-05-15 11:51:13 +00:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
2025-05-28 10:03:31 +00:00
|
|
|
//加密
|
|
|
|
// "module": "ES2020",
|
|
|
|
// "types": ["vite/client"],
|
|
|
|
// "moduleResolution": "node",
|
|
|
|
// "target": "ES2020",
|
|
|
|
// "strict": true,
|
2025-05-15 11:51:13 +00:00
|
|
|
"target": "ES2020",
|
|
|
|
"useDefineForClassFields": true,
|
|
|
|
"module": "ESNext",
|
|
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
2025-05-28 10:03:31 +00:00
|
|
|
"typeRoots": ["node_modules/@types", "src/types"],
|
|
|
|
"baseUrl": "http://localhost:3456",
|
|
|
|
"paths": {
|
|
|
|
"@wangeditor/editor-for-vue": ["node_modules/@wangeditor/editor-for-vue/dist/src/index.d.ts"],
|
|
|
|
"@wangeditor/editor-for-vue": ["./node_modules/@wangeditor/editor-for-vue/dist/src/index.d.ts"] // ✅ 添加相对路径前缀
|
|
|
|
},
|
2025-05-15 11:51:13 +00:00
|
|
|
"skipLibCheck": true,
|
|
|
|
|
2025-05-28 10:03:31 +00:00
|
|
|
|
2025-05-15 11:51:13 +00:00
|
|
|
/* Bundler mode */
|
2025-05-28 10:03:31 +00:00
|
|
|
"moduleResolution": "node",
|
|
|
|
//"moduleResolution": "bundler",
|
2025-05-15 11:51:13 +00:00
|
|
|
"allowImportingTsExtensions": true,
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"isolatedModules": true,
|
|
|
|
"noEmit": true,
|
|
|
|
"jsx": "preserve",
|
|
|
|
|
|
|
|
/* Linting */
|
|
|
|
"strict": true,
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"noFallthroughCasesInSwitch": true
|
|
|
|
},
|
2025-05-28 10:03:31 +00:00
|
|
|
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
2025-05-15 11:51:13 +00:00
|
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
|
|
}
|