We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
unifiedjs
Learn more about funding links in repositories.
Report abuse
@mdx-js/node-loader
1 parent 7087dec commit 3e0ab23Copy full SHA for 3e0ab23
packages/node-loader/lib/index.js
@@ -53,7 +53,7 @@ export function createLoader(options = {}) {
53
let source = String(file)
54
55
if (fixRuntimeWithoutExportMap) {
56
- source = String(file).replace(/\/jsx-runtime(?=["'])/g, '$&.js')
+ source = String(file).replace(/\/jsx-runtime(?=["'])/, '$&.js')
57
}
58
59
return {format: 'module', source, shortCircuit: true}
@@ -89,7 +89,7 @@ export function createLoader(options = {}) {
89
90
91
92
93
94
95
return {source}
Successfully deployed to the following URLs:
mdx-mdx.vercel.app mdx-git-main-mdx.vercel.app v2.mdxjs.com mdxjs.com
1 commit comments
vercel[bot] commentedon Oct 20, 2022
Successfully deployed to the following URLs:
mdx – ./
mdx-mdx.vercel.app
mdx-git-main-mdx.vercel.app
v2.mdxjs.com
mdxjs.com