Skip to content

Commit

Permalink
fix: change var name
Browse files Browse the repository at this point in the history
  • Loading branch information
OliwiaGowor committed Oct 2, 2024
1 parent 696e794 commit 48cfcde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
});

Expand Down

0 comments on commit 48cfcde

Please sign in to comment.