From 894ed74c48f23819b565d7c95bccb683e1fde8fa Mon Sep 17 00:00:00 2001 From: waltem01 Date: Wed, 13 Mar 2024 11:52:25 +0100 Subject: [PATCH] import additional parent environment variables --- Webserver/svelte.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Webserver/svelte.config.js b/Webserver/svelte.config.js index d688f7c..c25c584 100644 --- a/Webserver/svelte.config.js +++ b/Webserver/svelte.config.js @@ -1,5 +1,8 @@ import adapter from '@sveltejs/adapter-node'; import { vitePreprocess } from '@sveltejs/kit/vite'; +import { config as dotEnvConfig } from 'dotenv'; + +dotEnvConfig({ path: '../.env' }); /** @type {import('@sveltejs/kit').Config} */ const config = {