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 chunks.
The process of using Code Push with Code SPlitting could be described as follows:
url
in ChunkManager.configure(...)
.url
from point 5.resolveRemoteChunk
from a new main bundle is called, it will return different url
,
which will cause cache invalidation and new remote chunks/scripts/containers will be downloaded.Re.Pack is not an alternative for CodePush, and both projects aim to accomplish different use cases.