diff --git a/postcss.config.js b/postcss.config.mjs similarity index 87% rename from postcss.config.js rename to postcss.config.mjs index b77287f..282e436 100644 --- a/postcss.config.js +++ b/postcss.config.mjs @@ -1,4 +1,4 @@ -module.exports = { +export default{ plugins: { 'postcss-import': {}, 'tailwindcss/nesting': {}, diff --git a/src/auth.ts b/src/auth.ts index d10e09d..c4e6b96 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -2,7 +2,11 @@ import { Lucia } from "lucia"; import { DrizzleSQLiteAdapter } from "@lucia-auth/adapter-drizzle"; import { db, session, user } from "astro:db"; -const adapter = new DrizzleSQLiteAdapter(db as any, session as any, user); +const adapter = new DrizzleSQLiteAdapter( + db as any, + session as any, + user as any +); export const lucia = new Lucia(adapter, { sessionCookie: {