Answer the question
In order to leave comments, you need to log in
Why does webpack-dev-server look for files in a subdirectory after a reboot, but in the root?
went to the page from the main page everything was fine reloaded
192.168.43.251:8080/chapter/zametki-rabota , looking for css and js here, although they are at the root
and for some reason HtmlWebpackPlugin inserts like this without a slash and a dot
<script defer="" src="bundle.js"></script>
<link href="main.css" rel="stylesheet">
devServer: {
historyApiFallback: true,
}
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