Modified config files in order to support ~/

This commit is contained in:
Liviu Burcusel 2025-10-19 12:45:01 +02:00
parent 910302f27a
commit adbb7cadca
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
3 changed files with 11 additions and 3 deletions

View file

@ -6,7 +6,8 @@
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"paths": {
"@/*": ["./src/*"]
"~/*": ["./src/*"],
"@/*": ["./src/*"],
}
}
},
}

View file

@ -10,5 +10,11 @@
{
"path": "./tsconfig.vitest.json"
}
]
],
"compilerOptions": {
"paths": {
"~/*": ["./src/*"],
"@/*": ["./src/*"],
},
},
}

View file

@ -16,6 +16,7 @@ export default defineConfig({
],
resolve: {
alias: {
"~": fileURLToPath(new URL("./src", import.meta.url)),
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},