@@ -28,18 +28,18 @@ export const Parent = component$(() => {
28
28
serverStuff$ (async () => {
29
29
// should be removed too
30
30
const a = $ (() => {
31
- // from $(), should not be removed
31
+ dontRemoveThisDollar ();
32
32
});
33
33
const b = client$ (() => {
34
- // from clien$(), should not be removed
34
+ dontRemoveThisClient ();
35
35
});
36
36
return [a ,b ];
37
37
})
38
38
39
39
serverLoader$ (handler );
40
40
41
41
useTask$ (() => {
42
- // Code
42
+ runSomething ();
43
43
});
44
44
45
45
return (
@@ -93,11 +93,11 @@ Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"ma
93
93
============================= test .tsx_Parent_component_serverStuff_a_2ca3HLDC7yc .js (ENTRY POINT )==
94
94
95
95
export const s_2ca3HLDC7yc = ()=> {
96
- // from $(), should not be removed
96
+ dontRemoveThisDollar ();
97
97
};
98
98
99
99
100
- Some (" {\" version\" :3,\" sources\" :[\" /user/qwik/src/test.tsx\" ],\" names\" :[],\" mappings\" :\" 6BAqBc;AACX,kCAAkC;AACnC \" }" )
100
+ Some (" {\" version\" :3,\" sources\" :[\" /user/qwik/src/test.tsx\" ],\" names\" :[],\" mappings\" :\" 6BAqBc;IACX;AACD \" }" )
101
101
/*
102
102
{
103
103
"origin": "test.tsx",
@@ -114,18 +114,18 @@ Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"ma
114
114
"captures": false,
115
115
"loc": [
116
116
538,
117
- 587
117
+ 576
118
118
]
119
119
}
120
120
*/
121
121
============================= test .tsx_Parent_component_serverStuff_b_client_v9qawr2Inkk .js (ENTRY POINT )==
122
122
123
123
export const s_v9qawr2Inkk = ()=> {
124
- // from clien$(), should not be removed
124
+ dontRemoveThisClient ();
125
125
};
126
126
127
127
128
- Some (" {\" version\" :3,\" sources\" :[\" /user/qwik/src/test.tsx\" ],\" names\" :[],\" mappings\" :\" 6BAwBoB;AACjB,uCAAuC;AACxC \" }" )
128
+ Some (" {\" version\" :3,\" sources\" :[\" /user/qwik/src/test.tsx\" ],\" names\" :[],\" mappings\" :\" 6BAwBoB;IACjB;AACD \" }" )
129
129
/*
130
130
{
131
131
"origin": "test.tsx",
@@ -141,8 +141,8 @@ Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"ma
141
141
"ctxName": "client$",
142
142
"captures": false,
143
143
"loc": [
144
- 610 ,
145
- 664
144
+ 599 ,
145
+ 637
146
146
]
147
147
}
148
148
*/
@@ -190,7 +190,7 @@ Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"ma
190
190
"captures": false,
191
191
"loc": [
192
192
279,
193
- 835
193
+ 816
194
194
]
195
195
}
196
196
*/
@@ -215,19 +215,19 @@ Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"ma
215
215
"ctxName": "onClick$",
216
216
"captures": false,
217
217
"loc": [
218
- 775 ,
219
- 802
218
+ 756 ,
219
+ 783
220
220
]
221
221
}
222
222
*/
223
223
============================= test .tsx_Parent_component_useTask_1_P8oRQhHsurk .js (ENTRY POINT )==
224
224
225
225
export const s_P8oRQhHsurk = ()=> {
226
- // Code
226
+ runSomething ();
227
227
};
228
228
229
229
230
- Some (" {\" version\" :3,\" sources\" :[\" /user/qwik/src/test.tsx\" ],\" names\" :[],\" mappings\" :\" 6BAgCU;AACR,OAAO;AACR \" }" )
230
+ Some (" {\" version\" :3,\" sources\" :[\" /user/qwik/src/test.tsx\" ],\" names\" :[],\" mappings\" :\" 6BAgCU;IACR;AACD \" }" )
231
231
/*
232
232
{
233
233
"origin": "test.tsx",
@@ -243,8 +243,8 @@ Some("{\"version\":3,\"sources\":[\"/user/qwik/src/test.tsx\"],\"names\":[],\"ma
243
243
"ctxName": "useTask$",
244
244
"captures": false,
245
245
"loc": [
246
- 724 ,
247
- 744
246
+ 697 ,
247
+ 725
248
248
]
249
249
}
250
250
*/
0 commit comments