Skip to content

Commit d1fface

Browse files
authoredDec 5, 2023
Refactor to handle uncaught webpack errors
Closes GH-2398. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent 908ff45 commit d1fface

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/loader/index.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ function loader(code) {
2828
// Note that `import()` caches, so this should be fast enough.
2929
import('./lib/index.js').then((module) => {
3030
return module.loader.call(this, code, callback)
31-
})
31+
}, callback)
3232
}

1 commit comments

Comments
 (1)

vercel[bot] commented on Dec 5, 2023

@vercel[bot]

Successfully deployed to the following URLs:

mdx – ./

mdx-git-main-mdx.vercel.app
v2.mdxjs.com
mdx-mdx.vercel.app
mdxjs.com

Please sign in to comment.