diff --git a/packager/src/Resolver/polyfills/require.js b/packager/src/Resolver/polyfills/require.js index 3c1f0b24b..f0e9e6463 100644 --- a/packager/src/Resolver/polyfills/require.js +++ b/packager/src/Resolver/polyfills/require.js @@ -177,6 +177,7 @@ function loadModuleImplementation(moduleId, module) { if (!__DEV__) { // $FlowFixMe: This is only sound because we never access `factory` again module.factory = undefined; + module.dependencyMap = undefined; } if (__DEV__) {