devServer: {
contentBase: path.resolve(__dirname, './dist'),
compress: true,
port: 5000,
hot: true,
index: 'frontpage.html',
open: true,
overlay: {
warnings: true,
errors: true
},
inline: true
}
output: {
publicPath: '/dist/',
// ...
},
historyApiFallback
Примерно так ->devServer: {
historyApiFallback: true,
compress: true,
port: 5000,
index: 'frontpage.html',
open: true,
inline: true,
overlay: true
}