@@ -5,14 +5,15 @@ exports[`compiler: hoistStatic transform hoist element with static key 1`] = `
5
5
const { createElementVNode : _createElementVNode } = _Vue
6
6
7
7
const _hoisted_1 = /*#__PURE__*/_createElementVNode(\\ "div\\ ", { key : \\" foo\\ " } , null, -1 /* HOISTED */)
8
+ const _hoisted_2 = [
9
+ _hoisted_1
10
+ ]
8
11
9
12
return function render(_ctx, _cache) {
10
13
with (_ctx ) {
11
14
const { createElementVNode: _createElementVNode , openBlock: _openBlock , createElementBlock: _createElementBlock } = _Vue
12
15
13
- return (_openBlock (), _createElementBlock (\\" div\\ " , null , [
14
- _hoisted_1
15
- ]))
16
+ return (_openBlock (), _createElementBlock (\\" div\\ " , null , _hoisted_2 ))
16
17
}
17
18
}"
18
19
` ;
@@ -25,14 +26,15 @@ const _hoisted_1 = /*#__PURE__*/_createElementVNode(\\"p\\", null, [
25
26
/*#__PURE__*/_createElementVNode(\\ "span\\ "),
26
27
/*#__PURE__*/_createElementVNode(\\ "span\\ ")
27
28
], -1 /* HOISTED */)
29
+ const _hoisted_2 = [
30
+ _hoisted_1
31
+ ]
28
32
29
33
return function render(_ctx, _cache) {
30
34
with (_ctx ) {
31
35
const { createElementVNode: _createElementVNode , openBlock: _openBlock , createElementBlock: _createElementBlock } = _Vue
32
36
33
- return (_openBlock (), _createElementBlock (\\" div\\ " , null , [
34
- _hoisted_1
35
- ]))
37
+ return (_openBlock (), _createElementBlock (\\" div\\ " , null , _hoisted_2 ))
36
38
}
37
39
}"
38
40
` ;
@@ -44,14 +46,15 @@ const { createElementVNode: _createElementVNode, createCommentVNode: _createComm
44
46
const _hoisted_1 = /*#__PURE__*/_createElementVNode(\\ "div\\ ", null, [
45
47
/*#__PURE__*/_createCommentVNode(\\ "comment\\ ")
46
48
], -1 /* HOISTED */)
49
+ const _hoisted_2 = [
50
+ _hoisted_1
51
+ ]
47
52
48
53
return function render(_ctx, _cache) {
49
54
with (_ctx ) {
50
55
const { createCommentVNode: _createCommentVNode , createElementVNode: _createElementVNode , openBlock: _openBlock , createElementBlock: _createElementBlock } = _Vue
51
56
52
- return (_openBlock (), _createElementBlock (\\" div\\ " , null , [
53
- _hoisted_1
54
- ]))
57
+ return (_openBlock (), _createElementBlock (\\" div\\ " , null , _hoisted_2 ))
55
58
}
56
59
}"
57
60
` ;
@@ -62,15 +65,16 @@ const { createElementVNode: _createElementVNode } = _Vue
62
65
63
66
const _hoisted_1 = /*#__PURE__*/_createElementVNode(\\ "span\\ ", null, null, -1 /* HOISTED */)
64
67
const _hoisted_2 = /*#__PURE__*/_createElementVNode(\\ "div\\ ", null, null, -1 /* HOISTED */)
68
+ const _hoisted_3 = [
69
+ _hoisted_1,
70
+ _hoisted_2
71
+ ]
65
72
66
73
return function render(_ctx, _cache) {
67
74
with (_ctx ) {
68
75
const { createElementVNode: _createElementVNode , openBlock: _openBlock , createElementBlock: _createElementBlock } = _Vue
69
76
70
- return (_openBlock (), _createElementBlock (\\" div\\ " , null , [
71
- _hoisted_1 ,
72
- _hoisted_2
73
- ]))
77
+ return (_openBlock (), _createElementBlock (\\" div\\ " , null , _hoisted_3 ))
74
78
}
75
79
}"
76
80
` ;
@@ -80,14 +84,15 @@ exports[`compiler: hoistStatic transform hoist simple element 1`] = `
80
84
const { createElementVNode : _createElementVNode } = _Vue
81
85
82
86
const _hoisted_1 = /*#__PURE__*/_createElementVNode(\\ "span\\ ", { class : \\"inline \\" }, \\" hello\\ " , - 1 /* HOISTED */ )
87
+ const _hoisted_2 = [
88
+ _hoisted_1
89
+ ]
83
90
84
91
return function render(_ctx , _cache ) {
85
92
with (_ctx ) {
86
93
const { createElementVNode : _createElementVNode, openBlock : _openBlock, createElementBlock : _createElementBlock } = _Vue
87
94
88
- return (_openBlock (), _createElementBlock (\\" div\\ " , null , [
89
- _hoisted_1
90
- ]))
95
+ return (_openBlock (), _createElementBlock (\\" div\\ " , null , _hoisted_2 ))
91
96
}
92
97
}"
93
98
`;
@@ -175,14 +180,15 @@ exports[`compiler: hoistStatic transform prefixIdentifiers hoist nested static t
175
180
const { createElementVNode : _createElementVNode } = _Vue
176
181
177
182
const _hoisted_1 = /*#__PURE__*/_createElementVNode(\\ "span\\ ", null, \\ "foo \\ " + /*#__PURE__*/_toDisplayString(1) + \\ " \\ " + /*#__PURE__*/_toDisplayString(true), -1 /* HOISTED */)
183
+ const _hoisted_2 = [
184
+ _hoisted_1
185
+ ]
178
186
179
187
return function render(_ctx, _cache) {
180
188
with (_ctx ) {
181
189
const { toDisplayString: _toDisplayString , createElementVNode: _createElementVNode , openBlock: _openBlock , createElementBlock: _createElementBlock } = _Vue
182
190
183
- return (_openBlock (), _createElementBlock (\\" div\\ " , null , [
184
- _hoisted_1
185
- ]))
191
+ return (_openBlock (), _createElementBlock (\\" div\\ " , null , _hoisted_2 ))
186
192
}
187
193
}"
188
194
` ;
@@ -192,14 +198,15 @@ exports[`compiler: hoistStatic transform prefixIdentifiers hoist nested static t
192
198
const { createElementVNode : _createElementVNode } = _Vue
193
199
194
200
const _hoisted_1 = /*#__PURE__*/_createElementVNode(\\ "span\\ ", { foo : 0 } , /*#__PURE__*/_toDisplayString(1), -1 /* HOISTED */)
201
+ const _hoisted_2 = [
202
+ _hoisted_1
203
+ ]
195
204
196
205
return function render(_ctx, _cache) {
197
206
with (_ctx ) {
198
207
const { toDisplayString: _toDisplayString , createElementVNode: _createElementVNode , openBlock: _openBlock , createElementBlock: _createElementBlock } = _Vue
199
208
200
- return (_openBlock (), _createElementBlock (\\" div\\ " , null , [
201
- _hoisted_1
202
- ]))
209
+ return (_openBlock (), _createElementBlock (\\" div\\ " , null , _hoisted_2 ))
203
210
}
204
211
}"
205
212
` ;
@@ -368,16 +375,17 @@ const { createElementVNode: _createElementVNode } = _Vue
368
375
369
376
const _hoisted_1 = { id : \\" foo\\ " }
370
377
const _hoisted_2 = /*#__PURE__*/_createElementVNode(\\ "span\\ ", null, null, -1 /* HOISTED */)
378
+ const _hoisted_3 = [
379
+ _hoisted_2
380
+ ]
371
381
372
382
return function render(_ctx, _cache) {
373
383
with (_ctx ) {
374
384
const { renderList: _renderList , Fragment: _Fragment , openBlock: _openBlock , createElementBlock: _createElementBlock , createElementVNode: _createElementVNode } = _Vue
375
385
376
386
return (_openBlock (), _createElementBlock (\\" div\\ " , null , [
377
387
(_openBlock (true ), _createElementBlock (_Fragment , null , _renderList (list , (i ) => {
378
- return (_openBlock (), _createElementBlock (\\" div\\ " , _hoisted_1 , [
379
- _hoisted_2
380
- ]))
388
+ return (_openBlock (), _createElementBlock (\\" div\\ " , _hoisted_1 , _hoisted_3 ))
381
389
}), 256 /* UNKEYED_FRAGMENT */ ))
382
390
]))
383
391
}
@@ -393,16 +401,17 @@ const _hoisted_1 = {
393
401
id : \\" foo\\ "
394
402
}
395
403
const _hoisted_2 = /*#__PURE__*/_createElementVNode(\\ "span\\ ", null, null, -1 /* HOISTED */)
404
+ const _hoisted_3 = [
405
+ _hoisted_2
406
+ ]
396
407
397
408
return function render(_ctx, _cache) {
398
409
with (_ctx ) {
399
410
const { createElementVNode: _createElementVNode , openBlock: _openBlock , createElementBlock: _createElementBlock , createCommentVNode: _createCommentVNode } = _Vue
400
411
401
412
return (_openBlock (), _createElementBlock (\\" div\\ " , null , [
402
413
ok
403
- ? (_openBlock (), _createElementBlock (\\" div\\ " , _hoisted_1 , [
404
- _hoisted_2
405
- ]))
414
+ ? (_openBlock (), _createElementBlock (\\" div\\ " , _hoisted_1 , _hoisted_3 ))
406
415
: _createCommentVNode (\\" v-if\\ " , true )
407
416
]))
408
417
}
0 commit comments