Add build environement (dev/prod) to minify when needed + server templating