Skip to content

Commit

Permalink
Merge pull request #59 from HE-Arc/dev
Browse files Browse the repository at this point in the history
Added Vite build ENV definition
  • Loading branch information
JoFlucki authored May 2, 2024
2 parents 32e97d9 + acee890 commit 83ae703
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 83ae703

Please sign in to comment.