Skip to content

Commit

Permalink
add env global
Browse files Browse the repository at this point in the history
  • Loading branch information
Armin Jazi committed May 7, 2024
1 parent ac9f9bb commit 05b2805
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ export default defineConfig(({ mode }) => {
],
define: {
process: {
NODE_ENV: 'production'
env: {
NODE_ENV: 'production'
},
},
},
build: {
Expand Down

0 comments on commit 05b2805

Please sign in to comment.