mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +00:00
fix(kit): include module dist/runtime/
in tsconfig includes (#28237)
This commit is contained in:
parent
4d730545a9
commit
c0ec90da05
@ -158,6 +158,8 @@ export async function _generateTypes (nuxt: Nuxt) {
|
||||
const relative = relativeWithDot(nuxt.options.buildDir, path)
|
||||
include.add(join(relative, 'runtime'))
|
||||
exclude.add(join(relative, 'runtime/server'))
|
||||
include.add(join(relative, 'dist/runtime'))
|
||||
exclude.add(join(relative, 'dist/runtime/server'))
|
||||
}
|
||||
|
||||
const isV4 = nuxt.options.future?.compatibilityVersion === 4
|
||||
|
Loading…
Reference in New Issue
Block a user