diff --git a/src/index.ts b/src/index.ts index d533bb2..1a102bb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -71,6 +71,8 @@ export = function development({devtool = 'cheap-module-inline-source-map'} = {}) 'ENV': JSON.stringify(this.metadata.ENV), 'NODE_ENV': JSON.stringify(this.metadata.ENV), 'HMR': this.metadata.HMR, + 'WEBPACK_HOST': this.metadata.host, + 'WEBPACK_PORT': this.metadata.port } }) ].concat(get(this, 'plugins', []))