mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-26 22:43:06 -04:00

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
47 lines
1.1 KiB
JSON
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
|
|
}
|
|
}
|