Skip to content

Commit ceac86e

Browse files
committed
fix(schema): gate inline style change behind v4 check
1 parent 63c3548 commit ceac86e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schema/src/config/experimental.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default defineUntypedSchema({
9393
return false
9494
}
9595
// Enabled by default for vite prod with ssr (for vue components)
96-
return val ?? ((id: string) => id && id.includes('.vue'))
96+
return val ?? ((await get('future') as Record<string, unknown>).compatibilityVersion === 4 ? (id: string) => id && id.includes('.vue') : true)
9797
},
9898
},
9999

0 commit comments

Comments
 (0)