Answer the question
In order to leave comments, you need to log in
How to collect a large number of static .html files?
There are hundreds of .html files that represent pieces of content, each of which needs to be wrapped in a template .html file and saved to the file system with the content file name.
The project uses webpack4.
From thoughts only with the help of nodejs, create a lot of template files, in which, with the help of require, include files with content. And also using nodejs to parse file names with content and also using nodejs to add them to the webpack config in entry. But maybe there is another way, simpler and ready?
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