import additional parent environment variables

This commit is contained in:
waltem01 2024-03-13 11:52:25 +01:00
parent 91fb38c251
commit 894ed74c48

View File

@ -1,5 +1,8 @@
import adapter from '@sveltejs/adapter-node'; import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/kit/vite'; import { vitePreprocess } from '@sveltejs/kit/vite';
import { config as dotEnvConfig } from 'dotenv';
dotEnvConfig({ path: '../.env' });
/** @type {import('@sveltejs/kit').Config} */ /** @type {import('@sveltejs/kit').Config} */
const config = { const config = {