Answer the question
In order to leave comments, you need to log in
How to configure webpack-dev to generate all project pages?
There are several project pages (html files) in the src folder (this is "contentBase" for dev server). But when the server starts, css-ki are integrated only in index.html, styles are not connected to other pages. Can this be configured somehow?
Or do I need to drop all html-ki into some dist and manually connect bundles to them?
Answer the question
In order to leave comments, you need to log in
It seems I realized that the snag was in HtmlWebpackPlugin. But now you have to prescribe all the templates used in the options, but is it possible to automate this somehow? So that it simply takes all the files from the folder and outputs them (with the same default names, for example).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question