Is there a way to rewrite the HTML to use gulp-minified CSS

The best way to handle this is to use one of the HTML injectors from the get-go. I’m using gulp-inject to some success so far. Add gulp-inject to your project: npm i –save-dev gulp-inject Assuming that you have a folder layout similar to this: build/ src/ index.html less/ main.less js/ app.js Your HTML should include … Read more

What’s the difference between concat and uglify and minify?

Concatenation is just appending all of the static files into one large file. Minification is just removing unnecesary whitespace and redundant / optional tokens like curlys and semicolons, and can be reversed by using a linter. Uglification is the act of transforming the code into an “unreadable” form, that is, renaming variables/functions to hide the … Read more

tech