Skip to content

Commit e067395

Browse files
committed
infer type
1 parent 04e0389 commit e067395

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/enhanced-img/src/preprocessor.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ function img_to_picture(content, node, image) {
272272
}
273273
// Need to handle src differently when using either Vite's renderBuiltUrl or relative base path in Vite.
274274
// See https://github.com/vitejs/vite/blob/b93dfe3e08f56cafe2e549efd80285a12a3dc2f0/packages/vite/src/node/plugins/asset.ts#L132
275-
/** @type {string} */
276275
const src =
277276
image.img.src.startsWith('"+') && image.img.src.endsWith('+"')
278277
? `{"${image.img.src.substring(2, image.img.src.length - 2)}"}`

0 commit comments

Comments
 (0)