-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated packages webpack, css-loader, style-loader #4
Comments
Yes, these dependencies are just to silence the npm/yarn warnings. I think I didn't realize that
I've left a comment on a yarn issue. For now I'm just going to leave the webpack dependency, and it shouldn't cause any issues. |
Hi again, thanks for opening this issue! I've decided to remove I really hate warnings and this seemed to be the only way to fix it, so I think it's a good workaround for now. |
Thanks for the quick fix (even if it was not causing any real problem). |
Oh right, yes that's a good idea! I think The only problem is that this breaks the tests, because peer dependencies are not installed when you run I also had to do that for the So this seems to work pretty well and doesn't show any warnings. Thanks! |
If I install
craco-less
(either withyarn
ornpm
, then a duplicated version ofwebpack
,css-loader
, andstyle-loader
is installed, since thecraco-less
depends on them but with a different version range thanreact-scripts
.(I am aware that this is somehow related to #3.)
While apparently it did not cause any bug, I wonder if this could not be a source of obscure bugs in the future.
Are those dependencies only needed to "silence" the warnings reported on StackOverflow? If this is the case, can you consider to drop them?
The text was updated successfully, but these errors were encountered: