Why is the "getModules" function only available in DEV mode?
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 696
- Avg merge
- 8m
- Merged PRs (30d)
- 7
Description
Good afternoon, we wanted to use “getModules” in the Production build of metro, but it’s not there. Tell me why it cannot be used in the Prod assembly? Is it possible to remove it from the DEV flag?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the getModules entry point and the DEV-mode guard in Metro, then compare its behavior in development and production builds. Read the existing comments and surrounding production-build assumptions first; completion would require an agreed explanation or decision on whether production access is supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100