mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix(kit): initialize tsconfig paths in addTemplate
if undefined (#30348)
This commit is contained in:
parent
01b2a780a2
commit
d6d90abb1a
@ -230,6 +230,7 @@ export async function _generateTypes (nuxt: Nuxt) {
|
||||
: nuxt.options.buildDir
|
||||
|
||||
tsConfig.compilerOptions = tsConfig.compilerOptions || {}
|
||||
tsConfig.compilerOptions.paths = tsConfig.compilerOptions.paths || {}
|
||||
tsConfig.include = tsConfig.include || []
|
||||
|
||||
for (const alias in aliases) {
|
||||
|
Loading…
Reference in New Issue
Block a user