Reputation: 1810
Using php code breaks the grunt build script of a yeoman generated project. Specifically the htmlmin task breaks. Is there a way to get this to work? A workaround I recently used was commenting out and later uncommenting php blocks.
Upvotes: 3
Views: 1255
Reputation: 63487
The grunt-contrib-html task should only be run on vanilla HTML.
Though feel free to open a ticket on html-minifier for PHP tag support.
Upvotes: 4