pswui/packages/react/tsconfig.json
p-sw 511b778fd0 refactor(react): change path of pswui-lib in vite and tsconfig
The paths were updated for the alias '@pswui-lib' in both vite.config.ts and tsconfig.json files. The new path now points to 'lib.tsx' from 'lib'.
2024-06-11 17:45:33 +09:00

34 lines
782 B
JSON

{
"compilerOptions": {
"target": "ES2021",
"useDefineForClassFields": true,
"lib": ["ES2021", "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 */
"baseUrl": "./",
"paths": {
"@components/*": ["components/*"],
"@/*": ["src/*"],
"@pswui-lib": ["lib.tsx"]
}
},
"include": ["components", "src", "lib"],
"references": [{ "path": "./tsconfig.node.json" }]
}