modernize frontend to target the same ES and TS standards as the rest of the app
This commit is contained in:
parent
0a5c9f79e5
commit
22f49db21f
21 changed files with 249 additions and 170 deletions
35
packages/frontend/tsconfig.vue.json
Normal file
35
packages/frontend/tsconfig.vue.json
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"extends": "../shared/tsconfig.web.json",
|
||||
"compilerOptions": {
|
||||
"paths": {
|
||||
"@/*": ["./src/*"],
|
||||
"@@/*": ["../frontend-shared/*"]
|
||||
},
|
||||
"typeRoots": [
|
||||
"./@types",
|
||||
"./node_modules/@types",
|
||||
"./node_modules/@vue-macros",
|
||||
"./node_modules"
|
||||
],
|
||||
"types": [
|
||||
"vite/client",
|
||||
"vitest/importMeta"
|
||||
],
|
||||
"jsx": "preserve"
|
||||
},
|
||||
"include": [
|
||||
"./lib/**/*.ts",
|
||||
"./src/**/*.ts",
|
||||
"./src/**/*.vue",
|
||||
"./test/**/*.ts",
|
||||
"./test/**/*.vue",
|
||||
"./@types/**/*.ts",
|
||||
"./vue-shims.d.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
".storybook/**/*",
|
||||
"*.*"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue