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
Installing @svgr/core with Yarn Modern (Yarn 2+) gives the following warning:
```
β€ YN0002: β @svgr/core@npm:6.4.0 doesn't provide @babel/core (p0b84c), requested by @svgr/babel-preset
```
Fixes#785
π Bug Report
Installing @svgr/core with Yarn Modern (Yarn 2+) gives the following warning:
From what I understand, this may cause problems when using @svgr/core with Yarn Modern's PnP resolver.
I believe this was introduced by #781. It could be fixed by adding @babel/core as an additional dependency of @svgr/core.
To Reproduce
From a new directory:
Expected behavior
No Yarn warnings.
Link to repl or repo (highly encouraged)
Not needed (it's easy to create locally, following the instructions above)
Run
npx envinfo --system --binaries --npmPackages @svgr/core,@svgr/cli,@svgr/webpack,@svgr/rollup --markdown --clipboard
The text was updated successfully, but these errors were encountered: