Fix ESLint type import and add better-auth to serverExternalPackages

Prevents Turbopack from statically analyzing better-auth's kysely adapter,
which imports symbols removed in kysely 0.29. Also fixes @typescript-eslint
consistent-type-imports warning on the Db type alias.

https://claude.ai/code/session_014126WHVRT8mftmqkU6dajG
This commit is contained in:
Claude
2026-06-11 05:45:55 +00:00
parent e03c553b7f
commit 9c135d3289
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import "./src/env.js";
const config = {
output: "standalone",
reactCompiler: true,
serverExternalPackages: ["pg"],
serverExternalPackages: ["pg", "better-auth"],
};
export default config;