/** @type {import('next').NextConfig} */ const nextConfig = { output: "standalone", reactStrictMode: true, images: { remotePatterns: [ { protocol: "https", hostname: "s2.coinmarketcap.com", pathname: "/static/img/coins/64x64/**", }, { protocol: "https", hostname: "assets.coingecko.com", pathname: "/coins/images/**", }, { protocol: "https", hostname: "coin-images.coingecko.com", pathname: "/coins/images/**", }, { protocol: "https", hostname: "storage.googleapis.com", pathname: "/public.withstable.com/logos/**", }, ], }, webpack: (config) => { const warning = [...(config.ignoreWarnings || []), { module: /typeorm/ }]; config.ignoreWarnings = warning; config.resolve.fallback = { fs: false, }; config.externals.push("pino-pretty", "lokijs", "encoding"); return config; }, }; export default nextConfig;