File tree 1 file changed +6
-6
lines changed
packages/vite/src/node/optimizer
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ export function rolldownDepPlugin(
123
123
if ( isExternalUrl ( resolved ) ) {
124
124
return {
125
125
id : resolved ,
126
- external : true ,
126
+ external : 'absolute' ,
127
127
}
128
128
}
129
129
return {
@@ -157,7 +157,7 @@ export function rolldownDepPlugin(
157
157
if ( id . startsWith ( convertedExternalPrefix ) ) {
158
158
return {
159
159
id : id . slice ( convertedExternalPrefix . length ) ,
160
- external : true ,
160
+ external : 'absolute' ,
161
161
}
162
162
}
163
163
@@ -182,7 +182,7 @@ export function rolldownDepPlugin(
182
182
}
183
183
return {
184
184
id : resolved ,
185
- external : true ,
185
+ external : 'absolute' ,
186
186
}
187
187
}
188
188
} ,
@@ -220,7 +220,7 @@ export function rolldownDepPlugin(
220
220
if ( moduleListContains ( external , id ) ) {
221
221
return {
222
222
id : id ,
223
- external : true ,
223
+ external : 'absolute' ,
224
224
}
225
225
}
226
226
@@ -329,7 +329,7 @@ export function rolldownCjsExternalPlugin(
329
329
if ( id . startsWith ( nonFacadePrefix ) ) {
330
330
return {
331
331
id : id . slice ( nonFacadePrefix . length ) ,
332
- external : true ,
332
+ external : 'absolute' ,
333
333
}
334
334
}
335
335
@@ -344,7 +344,7 @@ export function rolldownCjsExternalPlugin(
344
344
345
345
return {
346
346
id,
347
- external : true ,
347
+ external : 'absolute' ,
348
348
}
349
349
}
350
350
} ,
You can’t perform that action at this time.
0 commit comments