mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(bridge): handle missing experimental
key on bridge (#3763)
This commit is contained in:
parent
f69126e8f4
commit
30b8059d6d
@ -68,7 +68,7 @@ export const writeTypes = async (nuxt: Nuxt) => {
|
||||
.filter(f => typeof f === 'string')
|
||||
.map(id => ({ types: getNearestPackage(id, modulePaths)?.name || id }))
|
||||
|
||||
if (nuxt.options.experimental.reactivityTransform) {
|
||||
if (nuxt.options.experimental?.reactivityTransform) {
|
||||
references.push({ types: 'vue/macros-global' })
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user