You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It makes no sense that template only accepts a string, which is either a built-in template or a path to a single file.
Currently, it takes me 4 cycles of compiling to generate 4 nunjuck files. During each of these cycles, all the font files get re-generated. Therefore, template should also accept an array of fast-globs.
Possibly, a step even further, is to just define a folder reference, where every .njk file gets compiled, while the rest gets copied. Recursive of course.
It would then make more sense to have built-in templates which can then be complete folders.
This is exactly what I am doing currently. I have a bunch of .njk files, referring to each other for example.
I'm generating
SCSS variables
SCSS font file, using these variables
CSS file
demo.html, which uses the CSS file
The text was updated successfully, but these errors were encountered:
It makes no sense that template only accepts a string, which is either a built-in template or a path to a single file.
Currently, it takes me 4 cycles of compiling to generate 4 nunjuck files. During each of these cycles, all the font files get re-generated. Therefore, template should also accept an array of fast-globs.
Possibly, a step even further, is to just define a folder reference, where every .njk file gets compiled, while the rest gets copied. Recursive of course.
It would then make more sense to have built-in templates which can then be complete folders.
This is exactly what I am doing currently. I have a bunch of .njk files, referring to each other for example.
I'm generating
The text was updated successfully, but these errors were encountered: