Officially, CodePush is only supported if you're not using Code Splitting.
With Code Splitting, the support is not official. It should be still possible to use Code Push, but you might face unexpected difficulties. In general, the usage of Code Push should be limited to the main bundle and the rest should rely on Caching & versioning to invalidate and download new scripts.
The process of using Code Push with Code Splitting could be described as follows:
method
/url
/query
/header
or body
when resolving script in resolver added to ScriptManager
.method
/url
/query
/header
or body
from point 5.resolve
from a new main bundle is called, it should return different method
/url
/query
/header
or body
,
which will cause cache invalidation and new script will be downloaded.Re.Pack is not an alternative for CodePush, and both projects aim to accomplish different use cases.
Code Push works only on the main bundle, meaning all local chunks will not be updated by Code Push.