ericclemmons / grunt-angular-templates

Grunt build task to concatenate & pre-load your AngularJS templates
MIT License
710 stars 107 forks source link

Not all html files are minified #127

Closed diegomesata closed 9 years ago

diegomesata commented 9 years ago

Hello, some html files are minified but other doesn't. Do you have any idea? This is my config:

ngtemplates: { evalwebApp: { src: 'App/Partial//.html', dest: 'Scripts/templates.js', options: { //htmlmin: { collapseWhitespace: true, collapseBooleanAttributes: true } htmlmin: {
collapseWhitespace: true, removeComments: true, // Only if you don't use comment directives!
} } } }

"grunt-angular-templates": "0.5.7", "grunt-usemin": "3.0.0"

diegomesata commented 9 years ago

I found the anwser, I have template blocks within my html. This blocks aren't minified.

Githubissues.
  • Githubissues is a development platform for aggregating issues.