caofangkun / closure-templates

Automatically exported from code.google.com/p/closure-templates
Apache License 2.0
0 stars 0 forks source link

Enhancement to be able to turn off minification at compile time #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Would be fantastic if there was some way to turn off the minification (removal 
of line breaks etc.) at compile time rather than having to use a [literal] 
block.

We have a use case where we want our templates to sometimes output readable 
mark-up but at other times output production-ready minified markup.

ie. we'd love to be able to do something like {call this.template 
minify="false"} to turn off the minification .

Alternatively if there was an option to turn it off when implementing the 
transformer in java that would also suffice for us.  

Original issue reported on code.google.com by zepho...@gmail.com on 9 Jan 2013 at 6:46

GoogleCodeExporter commented 8 years ago
Closure Templates has migrated to GitHub: 
https://github.com/google/closure-templates. Please reopen this there if it's 
still an issue.

Original comment by brendan....@gmail.com on 27 Feb 2015 at 12:04