Skip to content

Build step to generate initial modules #14

@matt-dalton

Description

@matt-dalton

Is your feature request related to a problem? Please describe.
I love the library, and think every RN app should make use of it. However one practical constraint is how to populate the packager modules here: https://kirillzyusko.github.io/react-native-bundle-splitter/docs/metro

Perhaps there are solutions to this, but it's not clear how my team should approach keeping these up-to-date. Do we need to remember to update these each time we touch certain files/dependencies? How realistic is this?
It's also not totally clear to me if there are significant performant consequences for forgetting to add a few modules.

Describe the solution you'd like
It would be amazing if we could generate this file based on a build step. It's possible something like this already exists. But incorporating this into this library would make it a complete solution.

If you do have any external tool recommendations - that would also be greatly appreaciated!

Describe alternatives you've considered
Tried looking for ways to do this, but haven't found anything so far

Additional context

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions