Fix weird dotenv error

This commit is contained in:
Jon Staab
2024-12-02 09:51:50 -08:00
parent 71d63ed21a
commit aa27a05fa6
2 changed files with 6 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
import dotenv from "dotenv"
import {config} from "dotenv"
import daisyui from "daisyui"
import themes from "daisyui/src/theming/themes"
dotenv.config({path: ".env.local"})
dotenv.config({path: ".env"})
config({path: ".env.local"})
config({path: ".env"})
/** @type {import('tailwindcss').Config} */
export default {

View File

@@ -1,11 +1,11 @@
import dotenv from "dotenv"
import {config} from "dotenv"
import {defineConfig} from "vite"
import {SvelteKitPWA} from "@vite-pwa/sveltekit"
import {sveltekit} from "@sveltejs/kit/vite"
import svg from "@poppanator/sveltekit-svg"
dotenv.config({path: ".env.local"})
dotenv.config({path: ".env"})
config({path: ".env.local"})
config({path: ".env"})
export default defineConfig({
server: {