Co-authored-by: Echo <ChaosExAnima@users.noreply.github.com> Co-authored-by: Renaud Chaput <renchap@gmail.com>
38 lines
1 KiB
JSON
38 lines
1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"jsx": "react-jsx",
|
|
"target": "esnext",
|
|
"module": "ES2022",
|
|
"moduleResolution": "bundler",
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"noEmit": true,
|
|
"strict": true,
|
|
"isolatedModules": true, // Required by Vite
|
|
"noImplicitReturns": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"types": ["vite/client", "vitest/globals"],
|
|
"baseUrl": "./",
|
|
"incremental": true,
|
|
"tsBuildInfoFile": "tmp/cache/tsconfig.tsbuildinfo",
|
|
"paths": {
|
|
"@/*": ["app/javascript/*"],
|
|
"mastodon": ["app/javascript/mastodon"],
|
|
"mastodon/*": ["app/javascript/mastodon/*"],
|
|
"images/*": ["app/javascript/images/*"],
|
|
"styles/*": ["app/javascript/styles/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"vite.config.mts",
|
|
"vitest.config.mts",
|
|
"config/vite",
|
|
"app/javascript/mastodon",
|
|
"app/javascript/entrypoints",
|
|
"app/javascript/types",
|
|
".storybook/*.ts",
|
|
".storybook/*.tsx"
|
|
]
|
|
}
|