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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With