|
@ -20,7 +20,7 @@ module.exports = { |
|
|
})() |
|
|
})() |
|
|
}), |
|
|
}), |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
const compiler = webpack(devConfig); |
|
|
const compiler = webpack(devConfig); |
|
|
|
|
|
|
|
|
app.use(proxy('http://localhost:5401', { |
|
|
app.use(proxy('http://localhost:5401', { |
|
@ -40,7 +40,7 @@ module.exports = { |
|
|
return 'client/build/index.html'; |
|
|
return 'client/build/index.html'; |
|
|
} |
|
|
} |
|
|
})); |
|
|
})); |
|
|
|
|
|
|
|
|
const server = express(); |
|
|
const server = express(); |
|
|
server.use(middleware(compiler)); |
|
|
server.use(middleware(compiler)); |
|
|
//server.use(require("webpack-hot-middleware")(compiler));
|
|
|
//server.use(require("webpack-hot-middleware")(compiler));
|
|
|