We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8b4a7a commit 4951e7dCopy full SHA for 4951e7d
packages/vite/src/node/utils.ts
@@ -553,8 +553,8 @@ export async function processSrcSet(
553
const imageCandidates: ImageCandidate[] = srcs
554
.split(',')
555
.map((s) => {
556
- let src = s.replace(escapedSpaceCharacters, ' ').trim()
557
- let [url] = imageSetUrlRE.exec(src) || []
+ const src = s.replace(escapedSpaceCharacters, ' ').trim()
+ const [url] = imageSetUrlRE.exec(src) || []
558
559
return {
560
url,
0 commit comments