diff --git a/react-packager/src/Bundler/Bundle.js b/react-packager/src/Bundler/Bundle.js index af265ebb..febac2db 100644 --- a/react-packager/src/Bundler/Bundle.js +++ b/react-packager/src/Bundler/Bundle.js @@ -115,9 +115,7 @@ class Bundle extends BundleBase { return { startupCode, - modules: modules.map(({name, code, polyfill}) => - ({name, code, polyfill}) - ), + startupModules: allModules, modules, }; }