diff --git a/packages/metro-bundler/src/DeltaBundler/DeltaTransformer.js b/packages/metro-bundler/src/DeltaBundler/DeltaTransformer.js index f6b58ec8..fc6d9a54 100644 --- a/packages/metro-bundler/src/DeltaBundler/DeltaTransformer.js +++ b/packages/metro-bundler/src/DeltaBundler/DeltaTransformer.js @@ -330,7 +330,7 @@ class DeltaTransformer extends EventEmitter { const dependencyPairsForModule = dependencyPairs.get(module.path) || []; const wrapped = this._bundleOptions.wrapModules - ? await this._resolver.wrapModule({ + ? this._resolver.wrapModule({ module, getModuleId: this._getModuleId, dependencyPairs: dependencyPairsForModule,