From 48cfcde4bd39ccfced8c72c12626c35b0c463145 Mon Sep 17 00:00:00 2001 From: Oliwia Gowor Date: Wed, 2 Oct 2024 08:10:38 +0200 Subject: [PATCH] fix: change var name --- package.json | 2 +- vite.config.mts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ca669c401a..53ce7d41ba 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "lint-staged": "lint-staged --concurrent=false", "test": "react-app-rewired test", "build": "npm run copy-themes; INLINE_RUNTIME_CHUNK=false GENERATE_SOURCEMAP=false NODE_OPTIONS=--max-old-space-size=8192 vite build", - "build:docker": "npm run copy-themes; INLINE_RUNTIME_CHUNK=false GENERATE_SOURCEMAP=false NODE_OPTIONS=--max-old-space-size=8192 VITE_IS_DOCKER=true vite build", + "build:docker": "npm run copy-themes; INLINE_RUNTIME_CHUNK=false GENERATE_SOURCEMAP=false NODE_OPTIONS=--max-old-space-size=8192 IS_DOCKER=true vite build", "copy-themes": "cp node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon/css_variables.css public/themes/@sap-theming/default.css; for theme in hcb dark hcw ; do cp node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon_$theme/css_variables.css public/themes/@sap-theming/$theme.css ; done" }, "eslintConfig": { diff --git a/vite.config.mts b/vite.config.mts index 45df51fcad..ebae79a3f9 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -63,7 +63,7 @@ export default defineConfig({ ] }, define: { - 'process.env.IS_DOCKER': JSON.stringify(process.env.VITE_IS_DOCKER || false), + 'process.env.IS_DOCKER': JSON.stringify(process.env.IS_DOCKER || false), }, });