Answer the question
In order to leave comments, you need to log in
Setting up webpack for MPA?
Hello!
Is it possible to configure webpack to work like this:
1) Separately collect scss files from the index.scss entry point
2) Separately collect ts files from the index.ts entry point
3) Separately go through all html files from the src/html folder and add them to / output/. So that inside html files can import other html files into themselves. That is, in src/html/ there are pages that import the necessary fragments into themselves. (Use include in html)
As I understand it, webpack is for SPA applications and it is not suitable for this.
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