Skip to content

minify and uglify production code

It is always advisable to minify and uglify page code used on deployment server.

On leuven project the task is done and build time inside a docker container

https://git.wur.nl/isric/leuven/-/blob/master/Dockerfile

node-minify is one solution, or some Hugo solution could be implemented