V
V
Vlad Zhukov2015-11-04 23:02:31
gulp.js
Vlad Zhukov, 2015-11-04 23:02:31

How to separate build files for dev and prod in Gulp?

Hello. Tell me such a moment on Gulp. I have an index.html page where I have connected in a certain order, for example, 10 libs from bower and 10 more of my scripts for a total of 20 files.
1. How can I apply js hint to all these files for one gulp command
2. on another server, use the command to concatenate and minify all these files into 1 ???
I can imagine how to make a task for the first case, but I can’t imagine how to drive all 20 js files into 1 general one in the second case.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2015-11-04
@sim3x

? gulp-concat + gulp-inject

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question