mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix(schema): gate inline style change behind v4 check
This commit is contained in:
parent
63c3548072
commit
ceac86e348
@ -93,7 +93,7 @@ export default defineUntypedSchema({
|
||||
return false
|
||||
}
|
||||
// Enabled by default for vite prod with ssr (for vue components)
|
||||
return val ?? ((id: string) => id && id.includes('.vue'))
|
||||
return val ?? ((await get('future') as Record<string, unknown>).compatibilityVersion === 4 ? (id: string) => id && id.includes('.vue') : true)
|
||||
},
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user