repack icon indicating copy to clipboard operation
repack copied to clipboard

Extract runtime into separate package in monorepo & publish it separately

Open jbroma opened this issue 1 year ago • 2 comments

Describe the feature

  • create a separate package with the Re.Pack runtime containing ScriptManager and Native Module
  • keep versioning tied to Re.Pack's version to make it easy to pick the right version
  • update docs where applicable (mainly getting started, code-splitting and module federation parts)

Motivation

Native Module of Re.Pack is only needed for code-splitting, it makes sense to make it optional. Same goes for ScriptManager. Keeping runtime of Re.Pack separate would allow for even easier switch between metro & Re.Pack as there would be no need of installing additional native dependencies on both platforms. This would also make the final app size smaller as unneeded parts would not be included in the compilation.

Related Issues

Original idea

TODO

  • [ ] Split this issue into separate tasks to make it more manageable

jbroma avatar Feb 23 '24 16:02 jbroma

This issue has been marked as stale because it has been inactive for 30 days. Please update this issue or it will be automatically closed in 14 days.

github-actions[bot] avatar Mar 25 '24 00:03 github-actions[bot]

This issue has been automatically closed because it has been inactive for more than 14 days. Please reopen if you want to add more context.

github-actions[bot] avatar Apr 09 '24 00:04 github-actions[bot]

This issue has been marked as stale because it has been inactive for 30 days. Please update this issue or it will be automatically closed in 14 days.

github-actions[bot] avatar May 10 '24 00:05 github-actions[bot]

This issue has been marked as stale because it has been inactive for 30 days. Please update this issue or it will be automatically closed in 14 days.

github-actions[bot] avatar Jun 17 '24 00:06 github-actions[bot]

This issue has been automatically closed because it has been inactive for more than 14 days. Please reopen if you want to add more context.

github-actions[bot] avatar Jul 01 '24 00:07 github-actions[bot]