A
A
Andrew Chil2016-09-09 16:47:26
JavaScript
Andrew Chil, 2016-09-09 16:47:26

Document.ready in gulp?

Good afternoon!
Please tell me how to stuff all the scripts that are going into one document.ready in gulp.?? Or how to correctly collect them?
I would be grateful for an example.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergei Nazarenko, 2016-09-09
@nazares

concat not?

D
Dmitry Kravchenko, 2016-09-09
@mydearfriend

try gulp-insert with its append and prepend options
and in general, it's good to insert scripts before the closing body tag and you can forget about $(document).ready

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question