-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Potential issue with Webpack 5 and Yarn 2 #130
Comments
The reason it's not listed as a dependency is to try to avoid duplicate instances of single-spa, as that results in problems. However, it should at the very least be a peerDependency, and maybe we could put |
Created #131 to resolve this |
@joeldenning that would be great, thanks! I forked the project and tested adding it at a minimum as a dependency as that at least allowed me to proceed with yarn 2. From my understanding adding it as peerDependency should work as well. |
Peer dependencies are so nuanced in their behavior across npm, pnpm, and yarn versions that I think the dependency is the best approach. |
Setting up a single-spa test with Webpack 5, Yarn 2, and SWC. One of the issues I am getting is:
It looks like that is is complaining because single-spa-layout references single-spa but it isn't included in the package.json dependencies.
Is there a reason that it isn't included in single-spa-layout as a dependency?
The text was updated successfully, but these errors were encountered: