Skip to content

Commit

Permalink
Fix build errors because of dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
RappyTV committed Feb 22, 2024
1 parent d9aa0bd commit 46e7fd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vitest/config';
import dotenv from 'dotenv';

require('dotenv').config();
dotenv.config();

export default defineConfig({
plugins: [sveltekit()],
Expand Down

0 comments on commit 46e7fd4

Please sign in to comment.