diff --git a/packages/loader/index.cjs b/packages/loader/index.cjs index af2e7913a..eab55a2da 100644 --- a/packages/loader/index.cjs +++ b/packages/loader/index.cjs @@ -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) }