Files
tt-booking/next.config.js
T
2025-10-08 23:31:09 +01:00

18 lines
443 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '**',
},
],
},
// Enable standalone output for Docker production builds
output: process.env.NODE_ENV === 'production' ? 'standalone' : undefined,
// External packages for better SQLite3 compatibility (Next.js 15+ syntax)
serverExternalPackages: ['better-sqlite3'],
};
module.exports = nextConfig;