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
}

0 commit comments

Comments
 (0)