Skip to content

Commit ceec69c

Browse files
committed
fix: avoid confusing breakage in @vitejs/plugin-vue
1 parent 6ec85ae commit ceec69c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/compiler-sfc/src/index.ts

+7
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,10 @@ export type {
6969
CompilerError,
7070
BindingMetadata
7171
} from '@vue/compiler-core'
72+
73+
/**
74+
* @deprecated this is preserved to avoid breaking vite-plugin-vue < 5.0
75+
* with reactivityTransform: true. The desired behavior should be silently
76+
* ignoring the option instead of breaking.
77+
*/
78+
export const shouldTransformRef = () => false

0 commit comments

Comments
 (0)