9c135d3289
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
15 lines
336 B
JavaScript
15 lines
336 B
JavaScript
/**
|
|
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
|
|
* for Docker builds.
|
|
*/
|
|
import "./src/env.js";
|
|
|
|
/** @type {import("next").NextConfig} */
|
|
const config = {
|
|
output: "standalone",
|
|
reactCompiler: true,
|
|
serverExternalPackages: ["pg", "better-auth"],
|
|
};
|
|
|
|
export default config;
|