Use binary of dependency #2843
-
Imagine the following workspace structure:
Unfortunately, my frontend package cannot access the
Is it somehow possible to access the Webpack CLI anyway without adding EDIT: I want to avoid something like |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Well, that's the prescribed answer 😄 apart from that, you could make a plugin that defines |
Beta Was this translation helpful? Give feedback.
-
See my answer to your question at #2784 (comment) |
Beta Was this translation helpful? Give feedback.
Well, that's the prescribed answer 😄 apart from that, you could make a plugin that defines
yarn webpack
as a proper command forwarded to your binary, using the Yarn APIs. In fact it could probably generalized, like aplugin-global-commands
; that would be interesting to see 🤔