Add option to control whether templates are minified or not