Local .env logic for webpack custom port
This commit is contained in:
parent
75710638de
commit
96d219dfe2
4 changed files with 36 additions and 10 deletions
|
|
@ -23,7 +23,7 @@ module.exports = {
|
|||
},
|
||||
dev: {
|
||||
env: require('./dev.env'),
|
||||
port: 8080,
|
||||
port: parseInt(process.env.WEBPACK_DEVSERVER_PORT),
|
||||
host: '127.0.0.1',
|
||||
autoOpenBrowser: true,
|
||||
assetsSubDirectory: 'static',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue