Replies: 1 comment 1 reply
-
it's not a peer dep because we do directly |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The package.json declares a normal dependency
@swc/core
1.2.241 here.It seems like it would be better if this were changed to a peer dependency, and if the plugin would allow you to use any recent version of swc rather than a specific version (1.2.241).
Anyone who is using swc-plugin already has
@swc/core
installed in their project, so@formatjs/swc-plugin
is very likely to bring in a different version of@swc/core
. Having multiple versions of the same package is generally undesirable and can lead to issues.Beta Was this translation helpful? Give feedback.
All reactions