refactor(nuxt): clean up commented out aliases

This commit is contained in:
parent 2ee0bb0e0a
commit 02277d8d00
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C
2 changed files with 7 additions and 13 deletions

@ -120,12 +120,6 @@ export default defineNuxtConfig({
"@models": fileURLToPath(new URL("./models", import.meta.url)),
"@client": fileURLToPath(new URL("./lib/client", import.meta.url)),
"@server": fileURLToPath(new URL("./lib/server", import.meta.url)),
// "@models/*": fileURLToPath(new URL("./models/*", import.meta.url)),
// "@client/*": fileURLToPath(new URL("./lib/client/*", import.meta.url)),
// "@server/*": fileURLToPath(new URL("./lib/server/*", import.meta.url)),
// "@models/**": "./models/**",
// "@client/**": "./lib/client/**",
// "@server/**": "./lib/server/**",
"@functions": fileURLToPath(new URL("./lib/functions.ts", import.meta.url)),
"@dbconfig": fileURLToPath(new URL("./lib/dbconfig.ts", import.meta.url)),
},

@ -1,14 +1,14 @@
{
"extends": "./.nuxt/tsconfig.json",
// https://nuxt.com/docs/guide/concepts/typescript
"compilerOptions": {
"allowJs": true,
"noImplicitAny": false,
"noImplicitThis": false,
"verbatimModuleSyntax": false,
"paths": {
"@dbconfig": ["./lib/dbconfig.ts"],
"@functions": ["./lib/functions.ts"]
}
}
"verbatimModuleSyntax": false
// "paths": {
// "@dbconfig": ["./lib/dbconfig.ts"],
// "@functions": ["./lib/functions.ts"]
// }
},
"extends": "./.nuxt/tsconfig.json"
}