install devDependencies 1 layer deep #6518
Vector-Green
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, that is the first time I'm making embedded project using nodeJs)
so I decided to bundle everything to make it independent of node_modules folder) with webpack+babel
The only problem is I need to manually install every devDependency of my dependencies using npm i --no-save
cause babel actually rebuilds every my dependency and then includes it into bundle
by default npm i would install all dependencies recursively all layers deep, but what if I need to install devDependencies and peerDependiencies recursively for example 1 layer deep)?
is there any approach for pnpm also?
Beta Was this translation helpful? Give feedback.
All reactions