mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
Webpack devServer port via process.env.PORT
This commit is contained in:
parent
87a76b6227
commit
df8b001991
@ -26,7 +26,7 @@
|
||||
"build": "npm run build:assets && npm run build:html",
|
||||
"build:assets": "NODE_ENV=production webpack -p",
|
||||
"build:html": "cp public/*.* dist/.",
|
||||
"start": "NODE_ENV=development webpack-dev-server --config webpack.config.js --progress --colors --port 3000",
|
||||
"start": "NODE_ENV=development webpack-dev-server --config webpack.config.js --progress --colors",
|
||||
"start:heroku": "UNLEASH_API=http://unleash.herokuapp.com npm run start",
|
||||
"lint": "eslint . --ext=js,jsx",
|
||||
"test": "npm run build",
|
||||
|
@ -76,5 +76,6 @@ module.exports = {
|
||||
secure: false,
|
||||
},
|
||||
},
|
||||
port: process.env.PORT || 3000,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user