11 lines
317 B
TypeScript
11 lines
317 B
TypeScript
import type { NextConfig } from "next";
|
|||
|
|
|
||
|
|
const nextConfig: NextConfig = {
|
||
|
|
output: "standalone",
|
||
|
|
// better-sqlite3 ships a compiled native binary that Next's bundler
|
||
|
|
// shouldn't try to trace/rewrite - keep it a plain runtime require.
|
||
|
|
serverExternalPackages: ["better-sqlite3"],
|
||
|
|
};
|
||
|
|
|
||
|
|
export default nextConfig;
|