How can I use yarn api to add node_modules in distribution package? #5438
Unanswered
issei-morita
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to run
yarn install
programmatically ingulpfile.js
to add node_modules in a distribution package.Currently, I am just spawning a command
yarn install --production
.However, I am wondering if I can call yarn programmatically because it might improve performance and I can customize the installation.
Below is my current working code
Beta Was this translation helpful? Give feedback.
All reactions