Clarify about bundle size of RsdoctorRspackPlugin #1445
|
I'm confused about how repack handle downloading bundle (I'm using I just run I'm confusing when the I've concern in case repack would download the Could someone enlighten me? |
Replies: 1 comment 1 reply
|
None of those three is the exact amount the host downloads. Rsdoctor is describing the
With pure-runtime Module Federation, For the real first-load cost, clear the app cache, load one remote, and inspect the actual requests to that remote. |


None of those three is the exact amount the host downloads. Rsdoctor is describing the
authbuild artifacts:Total Files: every emitted assetTotal JS: every emitted JavaScript file, including async chunksInitial JS: JavaScript attached to that build's initial chunksWith pure-runtime Module Federation,
loadRemote('auth/...')fetches the manifest or remote entry plus the chunks needed by the requested expose. Other async chunks are fetched only if they are imported;preloadRemotecan deliberately fetch more. So ten mini-apps do not automatically mean ten timesTotal JS.For the real first-load cost, clear the app cache, load one remote, and inspect the actual requests to that remote.
I…