Skip to content

Commit

Permalink
feat(index): add WEBPACK_HOST and WEBPACK_PORT process.env stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
niieani committed Jul 2, 2016
1 parent 98cdf72 commit 6f87c9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', []))
Expand Down

0 comments on commit 6f87c9d

Please sign in to comment.