How to automate all the things with Gulp
Adnan Rahić
1.4K27

Great !

But how manage librairies like angular or jquery without bower ? i’d like to use npm but i don’t know how to inject there ?

exemple :

npm install angular — save

angular is added in node_modules directory

if i use gulp inject module and set “node_modules” directory as src parameter, it’ll inject angular.js and angular.min.js ! How say to gulp inject to inject only angular.min.js ?

Thanks

Like what you read? Give Guillaume David a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.