N
N
Nikita Nafranets2016-09-22 21:41:10
JavaScript
Nikita Nafranets, 2016-09-22 21:41:10

How to pull and include libraries in gulp?

I have a JS task, for example, is there a way to include libraries and do concat into one file by simply specifying them in an array.
Well, for example
, exports = [ 'jQuery' , 'some other library and some other library' ]
and then pass this export along with the scripts folder, so that later concat itself collects the necessary libraries from node_modules and saves them to 1 file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Inishev, 2016-09-22
@inish777

Screw webpack to gulp or replace gulp altogether

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question