/** @type {import('next').NextConfig} */ // Plain JS, not TypeScript: `next start` in the production image has no // devDependencies, and a .ts config makes Next stop and install TypeScript — // with yarn, into a read-only-by-intent node_modules — before it will boot. const nextConfig = { serverExternalPackages: ['better-sqlite3'], }; export default nextConfig;