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
With a new app built with single-spa Ember, I get the warning: https://single-spa.js.org/error/?code=41 ("single-spa is loaded on the page multiple times") whenever the Ember app mounts. Other single-spa applications are using Webpack, so have externals: ['single-spa'] in their webpack config.
I've tried a few things to accomplish the same in Broccoli, but with no success yet.
a broccoli-funnel to exclude single-spa from vendor
some combinations of these two things and ember-auto-import's exclude option
Practical impact: with multiple instances of single-spa on the page, I have been unable to get navigateToUrl working correctly, so every transition between applications is causing a full page reload.
The text was updated successfully, but these errors were encountered:
I don't know much about the ember build process, but yes single-spa should be marked as a webpack external. Webpack externals work in both webpack 4 and webpack 5, but I don't know about ember-auto-import.
With a new app built with single-spa Ember, I get the warning: https://single-spa.js.org/error/?code=41 ("single-spa is loaded on the page multiple times") whenever the Ember app mounts. Other single-spa applications are using Webpack, so have
externals: ['single-spa']
in their webpack config.I've tried a few things to accomplish the same in Broccoli, but with no success yet.
externals
option to webpackexclude
optionPractical impact: with multiple instances of single-spa on the page, I have been unable to get navigateToUrl working correctly, so every transition between applications is causing a full page reload.
The text was updated successfully, but these errors were encountered: