@ScriptedAlchemy I feel like I'm so close, this is the simplest publicPath swap I could do with the fewest calls to the old/incorrect path. Only remoteEntry.js is called once to the wrong location
https://t.co/e8j20jG0Ot
any thoughts on what I might be missing?
@ScriptedAlchemy jeez, looks like that worked, it's the hosts location but that should be enough for the remotes to figure out what environment they're in. Thanks a tonne!
@ScriptedAlchemy can the host set the remotes __webpack_require__.p though? the host app knows where all the remotes are, if its staging/prod whatever, the remotes themselves are just prebuilt static files though. Or maybe the plugin has some more knowledge about where it's living, i'll look
@ScriptedAlchemy we don't re-build our environments at work, just serve the content, so I haven't figured out a way to have publicPath not be Auto so we can use the new Module Federation extension and mf-manifest.json. long chat in MF discord here https://t.co/XP8o9Hoqlt detailing the struggle
@ScriptedAlchemy just the rspack for now, i'm trying to work on another problem with publicPath and using a placeholder right now. https://t.co/QHY7nntNtM PR's up though
@ScriptedAlchemy https://t.co/GzWiFigeE8
this sample i whipped up has full hmr on shell/remote. host is rspack plugin remotes, runhost is using runtime. hmr on the ones you linked might not be working without the proper excludes? it wasn't working fully for me anyway
Bought some spicy nuggies from McDonald’s and when asked what sauce I wanted, I said surprise me. Turns out they have ghost pepper sauce and I’m surprised.
@dangerbayreboot it’s Friday, just before the servers are overloaded. A sun flare that happened 8 minutes ago miraculously hits the datacenter drives, toggling all the drafted tweets into actual posts. A stiff, and twisted webpage is all that remains. twitter morgis.
@DrKyle between the ‘Merican midterms and Elon taking over twitter, the internets been something else the past month. Also thanks for teaching me bio things!