Closed SassNinja closed 5 years ago
I'm setting up SSR for riot v4 and would like to keep the file extension .tag However when requiring such files it doesn't work whereas .riot works.
.tag
.riot
I think the problem is the register module doesn't provide an option to specify a custom file extension.
@GianlucaGuarini can this be added?
Sure please make a PR adding the options object here
I think it might look something like:
register({ ext: '.tag' })
Alright, I've submitted a PR and added a test as well!
I'm setting up SSR for riot v4 and would like to keep the file extension
.tag
However when requiring such files it doesn't work whereas.riot
works.I think the problem is the register module doesn't provide an option to specify a custom file extension.
@GianlucaGuarini can this be added?