Empty .ext is defaulting to .html if options.ext = ''
lukejamesk opened this issue · comments
Luke commented
If I want to pass in an extension of nothing the plugin will default to .html. Sometimes it will be desired for us to pass in no extension as our template might be titled as "index.html.nunjucks"
We could change line 12
if(!options.ext)
to if(options.ext === undefined)
which will allow to pass in no extension