Make WEBSERVER_PORT configurable with env variable (#1950)

This commit is contained in:
Julien Tant 2022-01-14 12:39:17 -07:00 committed by GitHub
parent 4bdd8b7a45
commit 6e8455e80e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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: {

View file

@ -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: {