Skip to content

Commit

Permalink
Refactor to handle uncaught webpack errors
Browse files Browse the repository at this point in the history
Closes GH-2398.

Reviewed-by: Titus Wormer <[email protected]>
  • Loading branch information
remcohaszing authored Dec 5, 2023
1 parent 908ff45 commit d1fface
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/loader/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ function loader(code) {
// Note that `import()` caches, so this should be fast enough.
import('./lib/index.js').then((module) => {
return module.loader.call(this, code, callback)
})
}, callback)
}

1 comment on commit d1fface

@vercel
Copy link

@vercel vercel bot commented on d1fface Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.