aglio
aglio copied to clipboard
Doesn't support engines that are installed from scoped packages
I have a private engine at @my-private-scope/aglio-theme-foo
. When I do aglio -t foo
, aglio is unable to find this module, because it's only looking for modules like this:
require('aglio-theme-' + theme)
where theme
is foo
in my case.
It would be nice to be able to take a whole module path as the template engine like:
aglio -t @my-private-scope/aglio-theme-foo
thanks
That would allow a way more practical:
aglio -t ./path/to/theme