Skip to content

Commit

Permalink
fix: fix Yarn peer dependency warning from @babel/core (#786)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
joshkel authored Oct 5, 2022
1 parent 80e8833 commit db35837
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"prepublishOnly": "npm run reset && npm run build"
},
"dependencies": {
"@babel/core": "^7.18.5",
"@svgr/babel-preset": "^6.4.0",
"@svgr/plugin-jsx": "^6.4.0",
"camelcase": "^6.2.0",
Expand Down

0 comments on commit db35837

Please sign in to comment.