加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tsconfig.json 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"types": ["node", "unplugin-icons/types/react"],
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
// "@/assets/*": ["assets/*"],
// "@/components/*": ["components/*"],
// "@/hooks/*": ["hooks/*"],
// "@/pages/*": ["pages/*"],
// "@/resources/*": ["resources/*"],
// "@/store/*": ["store/*"],
// "@/utils/*": ["utils/*"]
},
"plugins": [
{
"name": "typescript-plugin-css-modules",
"options": {
"classnameTransform": "camelCaseOnly"
}
}
]
},
"include": ["src"]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化