-
Notifications
You must be signed in to change notification settings - Fork 42
Description
After stumbling across this plugin via your MicroFrontEnd Architecture article i've been playing around with it for my build and had it working very successfully while both apps were running inside webpack-dev-server.
Its a very simple setup, App (A) dynamically loads a single react component from App (B).
I then did a full prod build (B) and served the dist folder locally with the npm serve package.
After switching the import url in (A) to point at (B)'s dist server, the import started throwing a ChunkLoadError at bootstrap:259 (inside the onScriptComplete function).
I can see in the network logs that both the importManifest.js and the chunk file itself have been loaded into the browser successfully, so I'm totally lost as to why there's a behaviour change.
Any suggestions on what to poke next?