mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 19:50:42 +08:00
37 lines
927 B
JSON
37 lines
927 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
/* Path mapping */
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@api/*": ["./src/api/*"],
|
|
"@components/*": ["./src/components/*"],
|
|
"@utils/*": ["./src/utils/*"],
|
|
"@styles/*": ["./src/styles/*"],
|
|
"@assets/*": ["./src/assets/*"]
|
|
}
|
|
},
|
|
"include": ["src", "vite-env.d.ts", "vitest-env.d.ts"],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|