From acee8900c19a6ebdd02fcfde8018ab57d6bb23d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Fl=C3=BCckiger?= <91982622+JoFlucki@users.noreply.github.com> Date: Thu, 2 May 2024 15:49:56 +0200 Subject: [PATCH] Added Vite build ENV definition --- frontend/vite.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/vite.config.js b/frontend/vite.config.js index 35ad8d9..4b366d8 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -13,5 +13,8 @@ export default defineConfig({ }, build: { target: 'esnext' + }, + define: { + 'import.meta.env': JSON.stringify(import.meta.env) } })