Make WEBSERVER_PORT configurable with env variable (#1950)
This commit is contained in:
parent
4bdd8b7a45
commit
6e8455e80e
|
@ -13,7 +13,7 @@ const merge = require('webpack-merge');
|
|||
|
||||
const base = require('./webpack.config.base');
|
||||
|
||||
const WEBSERVER_PORT = 9001;
|
||||
const WEBSERVER_PORT = process.env.WEBSERVER_PORT ?? 9001;
|
||||
|
||||
module.exports = merge(base, {
|
||||
entry: {
|
||||
|
|
|
@ -12,7 +12,7 @@ const merge = require('webpack-merge');
|
|||
|
||||
const base = require('./webpack.config.base');
|
||||
|
||||
const WEBSERVER_PORT = 9001;
|
||||
const WEBSERVER_PORT = process.env.WEBSERVER_PORT ?? 9001;
|
||||
|
||||
module.exports = merge(base, {
|
||||
entry: {
|
||||
|
|
Loading…
Reference in a new issue