Closed Sgouws closed 4 years ago
Indeed, removeLineBreaks
is false
by default in html-crush, so it won't minify unless you also manually set that to true
.
Thanks for flagging this, I agree it should just work when you enable minifying. I'll add a PR that fixes this in a moment 👍
Adding the
minify
option toconfig.production.js
does not minify the final code when building for production.It requires that you customize your html-crush options before minification works. Perhaps I'm misinterpreting the docs, but my understanding is that adding that option should get minification working, albeit with defaults.