Answer the question
In order to leave comments, you need to log in
jquery plugins are not written to minified files, why?
When I connect jquery plugins, they are not written to minified files ..
ALTHOUGH the minification for main.js is written a little lower (I write pieces of js code there) and style.css they are minified normally ... I can’t understand what’s wrong. Here is a
link to the codepen, as JS there is my file gulpfile.js and in HTML what I include from styles and scripts.
https://codepen.io/brendan8c/pen/yLYMYWy
Answer the question
In order to leave comments, you need to log in
The problem was that I had script
gulp.task(' script ' written 2 times,
One was for minifying plugin files, the other for minifying my js files.
It was IMPOSSIBLE to call them the same ' script ', it was necessary in different ways.
I renamed one of them and added it at the very bottom to
the rest.I also noticed another error that gulp.task(' style' , I also didn’t have it at the very bottom, I added them there. And that’s all earned!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question