P
P
Peter2016-01-25 13:13:59
gulp.js
Peter, 2016-01-25 13:13:59

How to find dependencies in a file using gulp?

There is a js file that contains different dependencies:
vendor/jquery/dist/jquery.js
views/common/session.html
scripts/extentions/lib.js
vendor/bootstrap/dist/css/bootstrap.css
From this file, you need to take the paths that start only with vendorand copy the files located along these paths from the bower_component folder (i.e. discard "vendor" and go to the bower_component folder along this path) into the folder vendor
How to do it? Are there ready modules for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Malko, 2016-01-25
@artemmalko

Good afternoon.
What is this js file? Is it some kind of config?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question