Answer the question
In order to leave comments, you need to log in
How to collect many small jade/pug files with impurities?
I do layout. There are many components with jade in separate files, all components are mixins (called in page files).
What is the least painful way to build a project (without manually including component files)?
Before compiling jade, it comes to mind to go through the page files before compiling jade, collect all the mixin calls, form a file with mixin inclusions based on the resulting list and include it in the page files. What silently resembles hemorrhoids)))
Are there any other options?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question