chore: Add hot loading option to dev server
This commit is contained in:
parent
52dcce875e
commit
1ff9beefcc
@ -57,6 +57,7 @@ module.exports = (env, argv) => {
|
|||||||
],
|
],
|
||||||
// https://webpack.js.org/configuration/dev-server/
|
// https://webpack.js.org/configuration/dev-server/
|
||||||
devServer: {
|
devServer: {
|
||||||
|
hot: true,
|
||||||
open: true,
|
open: true,
|
||||||
port: 3000,
|
port: 3000,
|
||||||
historyApiFallback: {
|
historyApiFallback: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user