Skip to content

Commit

Permalink
Added Vite build ENV definition
Browse files Browse the repository at this point in the history
  • Loading branch information
JoFlucki committed May 2, 2024
1 parent 48e1c8c commit acee890
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ export default defineConfig({
},
build: {
target: 'esnext'
},
define: {
'import.meta.env': JSON.stringify(import.meta.env)
}
})

0 comments on commit acee890

Please sign in to comment.