Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build bundle mini app #655

Closed
HongQuang231 opened this issue Jun 26, 2024 · 2 comments · Fixed by #646
Closed

build bundle mini app #655

HongQuang231 opened this issue Jun 26, 2024 · 2 comments · Fixed by #646
Labels
area:repack The issue is about logic/code inside of Re.Pack. question status:confirmed The issue has been reviewed and all necessary information is provided. type:bug A bug report.

Comments

@HongQuang231
Copy link

Ask your Question

when i update repack version to v4, I cannot use command
react-native webpack-bundle --platform ios --entry-file index.js --dev false

and it throw error

RangeError: Maximum call stack size exceeded
at /Users/hongquang/Documents/fis/super-app-project/erequestApp/node_modules/@callstack/repack/dist/webpack/plugins/OutputPlugin.js:101:36
at Array.flatMap ()
at getAllInitialChunks (/Users/hongquang/Documents/fis/super-app-project/erequestApp/node_modules/@callstack/repack/dist/webpack/plugins/OutputPlugin.js:101:28)
at /Users/hongquang/Documents/fis/super-app-project/erequestApp/node_modules/@callstack/repack/dist/webpack/plugins/OutputPlugin.js:102:16
at Array.flatMap ()

can you help me build bundle mini app like repack v3 @jbroma , thanks

@jbroma
Copy link
Member

jbroma commented Jun 28, 2024

Hi @HongQuang231,

we have a pending fix for that in #646

@jbroma jbroma added status:confirmed The issue has been reviewed and all necessary information is provided. type:bug A bug report. area:repack The issue is about logic/code inside of Re.Pack. labels Jun 28, 2024
@hosseinmd
Copy link
Contributor

I have a module federation app. I tested your fix PR, but it's not worked. Same Error happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:repack The issue is about logic/code inside of Re.Pack. question status:confirmed The issue has been reviewed and all necessary information is provided. type:bug A bug report.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants