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
I love the feature of auto installation of peer dependencies, but I'm missing the option to only install them for dev environment.
From the configuration perspective, I think this can be easily done by extending the possible options on peerDependenciesMeta (thanks @orgads for the proposal), like:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I love the feature of auto installation of peer dependencies, but I'm missing the option to only install them for dev environment.
From the configuration perspective, I think this can be easily done by extending the possible options on
peerDependenciesMeta
(thanks @orgads for the proposal), like:The proposal is that in case
"dev": true
appears onpeerDependenciesMeta
, the dependency will be treated as dev-dependency of the external package.Does it make sense?
Thanks,
Yehoshua
Beta Was this translation helpful? Give feedback.
All reactions