From dcc943e82d5969aaed8ea347e12590ecda16a988 Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 15 May 2024 12:19:01 +0200 Subject: [PATCH] hotFix(env): refs #7388 disable webpack nodeEnv --- Jenkinsfile | 1 - webpack.config.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8a079d35b..6f0a642b4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -161,7 +161,6 @@ pipeline { def packageJson = readJSON file: 'package.json' env.VERSION = packageJson.version } - echo "BRANCH_NAME: ${env.BRANCH_NAME}" sh 'gulp build' sh 'docker-compose build front' } diff --git a/webpack.config.js b/webpack.config.js index 5c5ca0a55..2c01a10eb 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -70,6 +70,7 @@ let baseConfig = { ] }, optimization: { + nodeEnv: false, runtimeChunk: true, splitChunks: { chunks: 'all',