Skip to content

Commit 1a4842c

Browse files
JinjiangCopilot
andauthored
Update scopes/react/react/webpack/mdx-pre-loader.cjs
Co-authored-by: Copilot <[email protected]>
1 parent 5290a96 commit 1a4842c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scopes/react/react/webpack/mdx-pre-loader.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// inlined @teambit/mdx.modules.mdx-pre-loader in CJS format
44

55
function t(r) {
6-
return r.replace(/:::(\w+) (.+)/, ":::$1[$2]")
6+
return r.replace(/:::(\w+) (.+)/g, ":::$1[$2]")
77
}
88

99
function e(r) {

0 commit comments

Comments
 (0)