PronounsPage/tsconfig.json
Valentyne Stigloher 9a78a074d8 (ts) add ~ path alias so that the symlinked data directory still resolves to the correct file
Nuxt 2 fails with aliases in serverMiddleware, so I had to use tsconfig-paths-webpack-plugin as workaround
https://github.com/nuxt/typescript/issues/339
2024-05-20 12:53:16 +02:00

47 lines
1.1 KiB
JSON

{
"compilerOptions": {
"paths": {
"~/*": ["./*"]
},
"baseUrl": "./",
"target": "ES2018",
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"lib": [
"ESNext",
"ESNext.AsyncIterable",
"DOM"
],
"skipLibCheck": true,
"esModuleInterop": true,
"allowImportingTsExtensions": true,
"allowJs": true,
"strict": true,
"sourceMap": true,
"noEmit": true,
"types": [
"@nuxt/types",
"@nuxt/typescript-build",
"@nuxtjs/axios",
"@nuxtjs/sentry",
"@types/node",
"cookie-universal-nuxt",
"vue-plausible"
]
},
"exclude": [
"cache",
"dist",
"new",
"node_modules",
".nuxt",
"logs",
"census"
],
"ts-node": {
// skip type checking as it causes some problems with CommonJS dependencies; type checking happens separately
"transpileOnly": true
}
}