2022-10-20 14:03:19 +00:00
|
|
|
{
|
|
|
|
"extends": "@vue/tsconfig/tsconfig.json",
|
2023-12-03 22:08:33 +00:00
|
|
|
"include": ["./apps/**/*.ts", "./apps/**/*.vue", "./core/**/*.ts", "./core/**/*.vue", "./*.d.ts"],
|
2024-10-15 23:07:31 +00:00
|
|
|
"exclude": ["./**/*.cy.ts"],
|
2022-10-20 14:03:19 +00:00
|
|
|
"compilerOptions": {
|
2024-08-24 14:51:18 +00:00
|
|
|
"types": ["node", "vue", "vue-router"],
|
2022-12-01 13:34:23 +00:00
|
|
|
"outDir": "./dist/",
|
2022-10-20 14:03:19 +00:00
|
|
|
"target": "ESNext",
|
2024-08-24 14:51:18 +00:00
|
|
|
"module": "ESNext",
|
2023-11-23 19:42:33 +00:00
|
|
|
// Set module resolution to bundler and `noEmit` to be able to set `allowImportingTsExtensions`, so we can import Typescript with .ts extension
|
|
|
|
"moduleResolution": "Bundler",
|
|
|
|
"allowImportingTsExtensions": true,
|
|
|
|
"noEmit": true,
|
2022-12-01 13:34:23 +00:00
|
|
|
// Allow ts to import js files
|
|
|
|
"allowJs": true,
|
|
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
"declaration": false,
|
2022-10-20 14:03:19 +00:00
|
|
|
"noImplicitAny": false,
|
2022-12-01 13:34:23 +00:00
|
|
|
"resolveJsonModule": true,
|
|
|
|
"strict": true,
|
2022-10-20 14:03:19 +00:00
|
|
|
},
|
2023-12-03 22:08:33 +00:00
|
|
|
"vueCompilerOptions": {
|
|
|
|
"target": 2.7
|
|
|
|
},
|
2022-10-20 14:03:19 +00:00
|
|
|
"ts-node": {
|
|
|
|
// these options are overrides used only by ts-node
|
|
|
|
// same as our --compilerOptions flag and our TS_NODE_COMPILER_OPTIONS environment variable
|
|
|
|
"compilerOptions": {
|
2023-11-23 19:42:33 +00:00
|
|
|
"moduleResolution": "node",
|
2023-06-27 09:44:59 +00:00
|
|
|
"module": "commonjs",
|
|
|
|
"verbatimModuleSyntax": false
|
2022-10-20 14:03:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|