E
E
EntaltsevSN2016-04-05 01:50:32
gulp.js
EntaltsevSN, 2016-04-05 01:50:32

How to copy .js file included in page head in gulp?

I have a dozen different js scripts in my project folder for various tasks. For an example of a dozen scripts, I need to have only jquery.bxslider.min.js in the folder with the finished site, where everything has already been compiled, of all the files with scripts.
I want that if this file is included in the head of the page, it will be automatically copied to the folder with the finished site.
What plugin or function in gulp can do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
beaverBox, 2016-04-05
@beaverBox

Cheto looks like you went from the opposite.
Include the scripts.js file in the head section, and in gulp glue whatever you need into it.
Or, which is almost the same, use gulp-rigger .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question