chocolateboy / parcel-plugin-nunjucks

Parcel support for nunjucks templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for other extensions

devmattrick opened this issue · comments

As a standard, Nunjucks has adopted .njk as an extension, however there are some people who may be using other extensions such as .nunjucks or even .html. I'm not exactly sure how to handle this sort of issue.-

We can easily add .nunjucks (and .nj) as an alias for .njk, though I'm not sure it's worth it since the nunjucks docs recommend/advise using .njk.

Closing this as .njk is the standard and it's clearer than hijacking an existing extension like .html, even if that were possible.