@easy-webpack/config-electron-renderer
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -12,6 +12,6 @@ "use strict"; | ||
entry: this.metadata.HMR ? [ | ||
("webpack-hot-middleware/client?path=http://" + this.metadata.WEBPACK_HOST + ":" + this.metadata.WEBPACK_PORT + "/__webpack_hmr&reload=true") | ||
("webpack-hot-middleware/client?path=http://" + this.metadata.host + ":" + this.metadata.port + "/__webpack_hmr&reload=true") | ||
].concat(this.entry) : this.entry, | ||
output: { | ||
publicPath: "http://" + this.metadata.WEBPACK_HOST + ":" + this.metadata.WEBPACK_PORT + "/dist/" | ||
publicPath: "http://" + this.metadata.host + ":" + this.metadata.port + "/" | ||
}, | ||
@@ -18,0 +18,0 @@ plugins: (this.metadata.HMR ? [new webpack.HotModuleReplacementPlugin()] : []) |
@@ -55,3 +55,3 @@ { | ||
}, | ||
"version": "1.3.0" | ||
"version": "1.3.1" | ||
} |
@@ -17,7 +17,7 @@ import {WebpackConfig, get} from '@easy-webpack/core' | ||
entry: this.metadata.HMR ? [ | ||
`webpack-hot-middleware/client?path=http://${this.metadata.WEBPACK_HOST}:${this.metadata.WEBPACK_PORT}/__webpack_hmr&reload=true` | ||
`webpack-hot-middleware/client?path=http://${this.metadata.host}:${this.metadata.port}/__webpack_hmr&reload=true` | ||
].concat(this.entry as Array<string>) : this.entry, | ||
output: { | ||
publicPath: `http://${this.metadata.WEBPACK_HOST}:${this.metadata.WEBPACK_PORT}/dist/` | ||
publicPath: `http://${this.metadata.host}:${this.metadata.port}/` | ||
}, | ||
@@ -24,0 +24,0 @@ |
Sorry, the diff of this file is not supported yet
6557