From 9372d4897879ca4b2543269ea0f3b25aba5d23bd Mon Sep 17 00:00:00 2001 From: Camila Espinoza <56554983+cami-espinozaq@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:28:27 +0100 Subject: [PATCH] Update webpack.config.js - set branch variable --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index 2c15eb230..c2fd81995 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -147,6 +147,7 @@ module.exports = { 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), 'process.env.DEBUG': Boolean(process.env.DEBUG), 'process.env.ENABLE_TRACKING': Boolean(branch === 'production'), + 'process.env.BRANCH': JSON.stringify(branch), }), customHtmlPlugin({ entrypoint: 'app',