Answer the question
In order to leave comments, you need to log in
Guys, galp minifies html, what should I do?
function html() {
return src(path.src.html)
.pipe(pugLinter())
.pipe(pug({
doctype: 'html',
pretty : 1,
}))
.pipe(webpHtml())
.pipe( dest(path.build.html))
.pipe(browsersync.stream())
}
here is my task, for some reason it compresses during compilation, and Pretty doesn't help, + the same problem with the svg sprite, it compresses, I can't see it.
Answer the question
In order to leave comments, you need to log in
pretty in pug deprecated
https://pugjs.org/api/reference.html
a separate package will help
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question