Files
cardex/next.config.ts
2026-01-04 18:33:10 +01:00

50 lines
1.0 KiB
TypeScript

import type {NextConfig} from 'next';
const nextConfig: NextConfig = {
/* config options here */
typescript: {
ignoreBuildErrors: true,
},
eslint: {
ignoreDuringBuilds: true,
},
experimental: {
serverActions: {
bodySizeLimit: '10mb', // Increased for card image uploads
},
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'placehold.co',
port: '',
pathname: '/**',
},
// Firebase Storage production
{
protocol: 'https',
hostname: 'firebasestorage.googleapis.com',
port: '',
pathname: '/**',
},
// Firebase Storage emulator (for development)
{
protocol: 'http',
hostname: 'localhost',
port: '9199',
pathname: '/**',
},
// Firebase Storage emulator alternative hostname
{
protocol: 'http',
hostname: '127.0.0.1',
port: '9199',
pathname: '/**',
},
],
},
};
export default nextConfig;