zamotany / module-federation-repack

38 stars 12 forks source link

Production bundles fails to load without any error message #14

Open a839128 opened 2 years ago

a839128 commented 2 years ago

Hello,

We are using following command to create production bundles (container and chunk bundles). Then we load these bundles, as remote bundles, but they fails to load and we are stuck at loading state.

STANDALONE=1 react-native webpack-bundle --platform ios --dev false --entry-file index.js --bundle-output bundle/index.bundle

Where as if we run the same code, but with development bundles created using following command they are loaded properly. Note the difference in both commands is - --dev true/ false

STANDALONE=1 react-native webpack-bundle --platform ios --dev true --entry-file index.js --bundle-output bundle/index.bundle

We tried in both iOS and android platforms but faced same issue on both.

Any help will be highly appreciated.

Thank you!