qwerty-learner/tsconfig.json
mancuoj a76c821482
refactor: use unplugin-icons to unify all icons (#439)
Co-authored-by: KaiyiWing <Zhang.kaiyi42@gmail.com>
2023-04-28 12:30:36 +08:00

41 lines
1.0 KiB
JSON

{
"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"]
}