@
@
@Richswitch2017-09-26 13:36:55
JavaScript
@Richswitch, 2017-09-26 13:36:55

How do you include third-party plugins and libraries in a project?

Hey!
I am writing my first gulpfile.jsquestion on connecting scripts.
There is a choice:
1. Minify and concatenate all libraries and your scripts into one file and include it in index.html
or
2. Or split everything into different files and include in a certain sequence. For example, those scripts that are not important for the initial launch should be connected last.
How do you solve such a problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Zhivagin, 2017-09-26
_

Two bundles: one with libraries (connected first), the second with my scripts/styles.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question