forked from glitch-soc-github-mirror/mastodon
Conflicts: - `tsconfig.json`: glitch-soc had extra paths under `app/javascript/flavours`, but upstream added `app/javascript` as a whole, so updated to upstream's.
38 lines
1.1 KiB
JSON
38 lines
1.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/*"],
|
|
"locales": ["app/javascript/locales"],
|
|
"flavours/glitch": ["app/javascript/flavours/glitch"],
|
|
"flavours/glitch/*": ["app/javascript/flavours/glitch/*"],
|
|
"images/*": ["app/javascript/images/*"],
|
|
"styles/*": ["app/javascript/styles/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"vite.config.mts",
|
|
"vitest.config.mts",
|
|
"config/vite",
|
|
"app/javascript",
|
|
".storybook/*"
|
|
]
|
|
}
|