I'm building up my first Grunt project and one of my tasks is introducing blank lines into the beginning of my output html files. I'd like to remove them.
I found grunt-line-remover but it requires me to list each html file separately, and I'd rather point it to a directory. (and I don't have time right now to figure out how to tweak the code to do that.)
I then found grunt-text-replace which supports file name pattern matching, but I can't figure out the Regex for finding a blank line in an html file.
but that replaces every new line whereas I'd like to just replace the empty lines. Really, I just want to replace the beginning blank lines, but if it removes every blank line that's fine.
Any help would be appreciated