mirror of
https://github.com/xavidop/cardex.git
synced 2026-08-28 17:01:07 +00:00
45 lines
922 B
TypeScript
45 lines
922 B
TypeScript
import type {NextConfig} from 'next';
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
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;
|