Skip to content

Commit a72b3d9

Browse files
authored
docs(rolldown): fix regex pattern in withFilter example for SVG imports (vitejs#20136)
1 parent f6a28d5 commit a72b3d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/rolldown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default defineConfig({
126126
svgr({
127127
/*...*/
128128
}),
129-
{ load: { id: /\.svg?react$/ } },
129+
{ load: { id: /\.svg\?react$/ } },
130130
),
131131
],
132132
})

0 commit comments

Comments
 (0)