aglio icon indicating copy to clipboard operation
aglio copied to clipboard

Doesn't support engines that are installed from scoped packages

Open shoebox639 opened this issue 7 years ago • 1 comments

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

shoebox639 avatar Nov 02 '17 17:11 shoebox639

That would allow a way more practical:

aglio -t ./path/to/theme

filipemeneses avatar Oct 18 '18 16:10 filipemeneses