Skip to content

Commit 4951e7d

Browse files
zhangyu96zhangyu96
authored andcommitted
update
1 parent d8b4a7a commit 4951e7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vite/src/node/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,8 @@ export async function processSrcSet(
553553
const imageCandidates: ImageCandidate[] = srcs
554554
.split(',')
555555
.map((s) => {
556-
let src = s.replace(escapedSpaceCharacters, ' ').trim()
557-
let [url] = imageSetUrlRE.exec(src) || []
556+
const src = s.replace(escapedSpaceCharacters, ' ').trim()
557+
const [url] = imageSetUrlRE.exec(src) || []
558558

559559
return {
560560
url,

0 commit comments

Comments
 (0)