Answer the question
In order to leave comments, you need to log in
How do you include third-party plugins and libraries in a project?
Hey!
I am writing my first gulpfile.js
question 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
Two bundles: one with libraries (connected first), the second with my scripts/styles.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question