️ Import config directly from dotenv for improved tree-shaking

This commit is contained in:
RaviAnand Mohabir 2021-05-25 23:42:53 +02:00
parent e1012d6b91
commit a894eaa8e9

View File

@ -5,9 +5,9 @@ import {
RedditOAuth2Provider, RedditOAuth2Provider,
TwitterAuthProvider, TwitterAuthProvider,
} from "sk-auth/providers"; } from "sk-auth/providers";
import dotenv from 'dotenv'; import { config } from "dotenv";
dotenv.config(); config();
export const appAuth = new SvelteKitAuth({ export const appAuth = new SvelteKitAuth({
providers: [ providers: [