Empty template files cause invalid Javascript

I ran into this issue because of a leftover 0 sized template file in my views directory, causing the generated JS to be invalid.