grunt-inline-angular-templates icon indicating copy to clipboard operation
grunt-inline-angular-templates copied to clipboard

Minify and strip relative path options

Open kuus opened this issue 10 years ago • 0 comments

2 new options: {minify: false(default)} Minify the outputted html, it remoes all spaces {onlyPath: false(default)} To integrate it with yeoman and the app/, dist/ structure we need the templates name to be the same on local and production code, so strip out the relative path (usually 'dist/'). In this way the template id referenced from a script of our app (templateUrl: 'views/404.html') doesn't ever have to change according to the enviroment.

kuus avatar Apr 09 '14 02:04 kuus