Make WEBSERVER_PORT configurable with env variable (#1950)
This commit is contained in:
@@ -13,7 +13,7 @@ const merge = require('webpack-merge');
|
|||||||
|
|
||||||
const base = require('./webpack.config.base');
|
const base = require('./webpack.config.base');
|
||||||
|
|
||||||
const WEBSERVER_PORT = 9001;
|
const WEBSERVER_PORT = process.env.WEBSERVER_PORT ?? 9001;
|
||||||
|
|
||||||
module.exports = merge(base, {
|
module.exports = merge(base, {
|
||||||
entry: {
|
entry: {
|
||||||
|
@@ -12,7 +12,7 @@ const merge = require('webpack-merge');
|
|||||||
|
|
||||||
const base = require('./webpack.config.base');
|
const base = require('./webpack.config.base');
|
||||||
|
|
||||||
const WEBSERVER_PORT = 9001;
|
const WEBSERVER_PORT = process.env.WEBSERVER_PORT ?? 9001;
|
||||||
|
|
||||||
module.exports = merge(base, {
|
module.exports = merge(base, {
|
||||||
entry: {
|
entry: {
|
||||||
|
Reference in New Issue
Block a user