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
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 WEBSERVER_PORT = 9001;
const WEBSERVER_PORT = process.env.WEBSERVER_PORT ?? 9001;
module.exports = merge(base, {
entry: {