Fix weird dotenv error
This commit is contained in:
parent
71d63ed21a
commit
aa27a05fa6
2 changed files with 6 additions and 6 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
import dotenv from "dotenv"
|
import {config} from "dotenv"
|
||||||
import daisyui from "daisyui"
|
import daisyui from "daisyui"
|
||||||
import themes from "daisyui/src/theming/themes"
|
import themes from "daisyui/src/theming/themes"
|
||||||
|
|
||||||
dotenv.config({path: ".env.local"})
|
config({path: ".env.local"})
|
||||||
dotenv.config({path: ".env"})
|
config({path: ".env"})
|
||||||
|
|
||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
import dotenv from "dotenv"
|
import {config} from "dotenv"
|
||||||
import {defineConfig} from "vite"
|
import {defineConfig} from "vite"
|
||||||
import {SvelteKitPWA} from "@vite-pwa/sveltekit"
|
import {SvelteKitPWA} from "@vite-pwa/sveltekit"
|
||||||
import {sveltekit} from "@sveltejs/kit/vite"
|
import {sveltekit} from "@sveltejs/kit/vite"
|
||||||
import svg from "@poppanator/sveltekit-svg"
|
import svg from "@poppanator/sveltekit-svg"
|
||||||
|
|
||||||
dotenv.config({path: ".env.local"})
|
config({path: ".env.local"})
|
||||||
dotenv.config({path: ".env"})
|
config({path: ".env"})
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
server: {
|
server: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue