mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
ref AP-744 - according to the new file structure, moved the Inbox component to views directory as it's a page - added path aliases to minimize the changes for imports
34 lines
796 B
JSON
34 lines
796 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"types": ["vite/client", "jest"],
|
|
|
|
/* 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 aliases */
|
|
"baseUrl": "./src",
|
|
"paths": {
|
|
"@assets/*": ["assets/*"],
|
|
"@components/*": ["components/*"],
|
|
"@hooks/*": ["hooks/*"],
|
|
"@utils/*": ["utils/*"],
|
|
"@views/*": ["views/*"]
|
|
}
|
|
},
|
|
"include": ["src", "test"]
|
|
}
|