Skip to content

Use binary of dependency #2843

Answered by arcanis
matzeeable asked this question in Q&A
May 4, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

EDIT: I want to avoid something like g:webpack as described here: https://yarnpkg.com/getting-started/qa#how-to-share-scripts-between-workspaces

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 a plugin-global-commands; that would be interesting to see 🤔

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@matzeeable
Comment options

@merceyz
Comment options

merceyz May 4, 2021
Collaborator

Answer selected by merceyz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants