File tree 2 files changed +4
-10
lines changed
2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export interface Options {
22
22
isProduction? : boolean
23
23
24
24
/**
25
- * Transform Vue SFCs into custom elements (requires Vue >= 3.2.0)
25
+ * Transform Vue SFCs into custom elements (requires vue@^ 3.2.0)
26
26
* - `true` -> all `*.vue` imports are converted into custom elements
27
27
* - `string | RegExp` -> matched files are converted into custom elements
28
28
*
@@ -31,10 +31,8 @@ export interface Options {
31
31
customElement? : boolean | string | RegExp | (string | RegExp )[]
32
32
33
33
/**
34
- * Enable Vue ref transform (experimental).
35
- * https://github.com/vuejs/vue-next/tree/master/packages/ref-transform
36
- *
37
- * **requires Vue \>= 3.2.5**
34
+ * Enable Vue reactivity transform (experimental, requires vue@^3.2.25).
35
+ * https://github.com/vuejs/vue-next/tree/master/packages/reactivity-transform
38
36
*
39
37
* - `true`: transform will be enabled for all vue,js(x),ts(x) files except
40
38
* those inside node_modules
@@ -44,7 +42,7 @@ export interface Options {
44
42
*
45
43
* @default false
46
44
*/
47
- refTransform ? : boolean | string | RegExp | (string | RegExp )[]
45
+ reactivityTransform ? : boolean | string | RegExp | (string | RegExp )[]
48
46
49
47
// options to pass on to vue/compiler-sfc
50
48
script? : Partial <SFCScriptCompileOptions >
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ export interface Options {
33
33
34
34
/**
35
35
* Transform Vue SFCs into custom elements.
36
- * **requires Vue \>= 3.2.0 & Vite \>= 2.4.4**
37
36
* - `true`: all `*.vue` imports are converted into custom elements
38
37
* - `string | RegExp`: matched files are converted into custom elements
39
38
*
@@ -44,9 +43,6 @@ export interface Options {
44
43
/**
45
44
* Enable Vue reactivity transform (experimental).
46
45
* https://github.com/vuejs/vue-next/tree/master/packages/reactivity-transform
47
- *
48
- * **requires vue\@^3.2.25**
49
- *
50
46
* - `true`: transform will be enabled for all vue,js(x),ts(x) files except
51
47
* those inside node_modules
52
48
* - `string | RegExp`: apply to vue + only matched files (will include
You can’t perform that action at this time.
0 commit comments