fix(nuxt): edit path aliases
rollup fucking sucks
This commit is contained in:
parent
63eafa84bf
commit
82de608a70
@ -115,6 +115,19 @@ export default defineNuxtConfig({
|
||||
// },
|
||||
// },
|
||||
// ssr: false,
|
||||
alias: {
|
||||
"@models": "./lib/models",
|
||||
"@client": "./lib/client",
|
||||
"@server": "./lib/server",
|
||||
"@models/*": "./models/*",
|
||||
"@client/*": "./lib/client/*",
|
||||
"@server/*": "./lib/server/*",
|
||||
// "@models/**": "./models/**",
|
||||
// "@client/**": "./lib/client/**",
|
||||
// "@server/**": "./lib/server/**",
|
||||
"@functions": "./lib/functions.ts",
|
||||
"@dbconfig": "./lib/dbconfig.ts",
|
||||
},
|
||||
sourcemap: {
|
||||
server: true,
|
||||
client: true,
|
||||
|
@ -13,9 +13,9 @@
|
||||
"@models/*": ["./models/*"],
|
||||
"@client/*": ["./lib/client/*"],
|
||||
"@server/*": ["./lib/server/*"],
|
||||
"@models/**": ["./models/**"],
|
||||
"@client/**": ["./lib/client/**"],
|
||||
"@server/**": ["./lib/server/**"],
|
||||
// "@models/**": ["./models/**"],
|
||||
// "@client/**": ["./lib/client/**"],
|
||||
// "@server/**": ["./lib/server/**"],
|
||||
"@functions": ["./lib/functions.ts"],
|
||||
"@dbconfig": ["./lib/dbconfig.ts"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user