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,
|
// 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: {
|
sourcemap: {
|
||||||
server: true,
|
server: true,
|
||||||
client: true,
|
client: true,
|
||||||
|
@ -13,9 +13,9 @@
|
|||||||
"@models/*": ["./models/*"],
|
"@models/*": ["./models/*"],
|
||||||
"@client/*": ["./lib/client/*"],
|
"@client/*": ["./lib/client/*"],
|
||||||
"@server/*": ["./lib/server/*"],
|
"@server/*": ["./lib/server/*"],
|
||||||
"@models/**": ["./models/**"],
|
// "@models/**": ["./models/**"],
|
||||||
"@client/**": ["./lib/client/**"],
|
// "@client/**": ["./lib/client/**"],
|
||||||
"@server/**": ["./lib/server/**"],
|
// "@server/**": ["./lib/server/**"],
|
||||||
"@functions": ["./lib/functions.ts"],
|
"@functions": ["./lib/functions.ts"],
|
||||||
"@dbconfig": ["./lib/dbconfig.ts"]
|
"@dbconfig": ["./lib/dbconfig.ts"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user