Currently, the plugin generates this:
<script src="app.js?6be84a4f96612dd43e8d"></script>
But, when using webpack-dev-server + historyApiFallback and html5 routing (react-router, for example), it fails to fetch the correct file.
Example:
Maybe we should add an option to add the root slash or something
wouldn't solve setting a publicPath your issue?
set publicPath to what?
oh, ok. setting publicPath worked indeed. Thanks!
output: {
publicPath: '/',
}
Would it make sense to include this hint somewhere in the docs? :)
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
oh, ok. setting publicPath worked indeed. Thanks!