mirror of
https://github.com/luc-github/ESP3D-WEBUI.git
synced 2026-03-05 15:44:03 +01:00
18 lines
351 B
JavaScript
18 lines
351 B
JavaScript
import merge from "webpack-merge"
|
|
import environment from "./environment"
|
|
|
|
module.exports = merge(environment, {
|
|
devtool: "inline-source-map",
|
|
devServer: {
|
|
port: 3000,
|
|
open: true,
|
|
proxy: {
|
|
'/command': 'http://localhost:8080',
|
|
'/': {
|
|
target: 'ws://localhost:81',
|
|
ws: true // important
|
|
},
|
|
}
|
|
},
|
|
})
|