Answer the question
In order to leave comments, you need to log in
npm instead of bower. How to separate libraries and packages for assembly (eg CSS compilation)?
We are going to switch to nmp instead of bower (as a dependency manager).
In bower, all installed libraries were stored in bower_component or some other separate folder.
Npm dumps everything into node_modules by default, mixing code libraries, gulp, preprocessor compilers, and the like.
Is there any way to separate them?
Answer the question
In order to leave comments, you need to log in
Why separate them? The assembler will decide which files to include and which not. The “include all files from the vendor folder” strategy is a road to nowhere.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question