You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is outdated document, I want a way to manage public path for async chunks in my webpack build I thought I can use getpublicpath for the doc but it's not available in ts types and even webpack generate error about it @ScriptedAlchemy any recommendations?
Get public path is not released yet, but should be soon.
In the meantime you should be able to use webpack_require.p = customPath in a runtime plugin.
if(__FEDERATION__.__INSTANCES__[0].options.name !=== __webpack_require__.federation.initOptions.name) {
// this is a remote container, since host is always 0 and the names dont match
}
Describe the bug
I think this is outdated document, I want a way to manage public path for async chunks in my webpack build I thought I can use getpublicpath for the doc but it's not available in ts types and even webpack generate error about it @ScriptedAlchemy any recommendations?
Reproduction
not required
Used Package Manager
npm
System Info
Validations
The text was updated successfully, but these errors were encountered: