A
A
Andrey Kvartsov2018-03-11 11:04:56
gulp.js
Andrey Kvartsov, 2018-03-11 11:04:56

Is it possible to automatically include bower libraries with Gulp?

Good afternoon!
The task was to automatically connect all the present bower libraries from the directory.
Now, after installing the library, you have to write paths to new styles/scripts in gulpfile.js so that everything is assembled into a bundle.
Is it possible to configure Gulp in such a way that it takes all the necessary files (js and css) and attaches them to the project itself from the libs directory (the necessary libraries are put here). The paths to the files, as I understand it, can be determined from bower.json, but I don’t quite understand what to do next. Maybe someone has a ready task?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question