/** * @type {import('next').NextConfig} */ import { i18n } from './next-i18next.config.mjs'; const output = 'standalone'; const nextConfig = { trailingSlash: true, i18n, distDir: 'build', output, basePath: '', devIndicators: { position: 'bottom-left', }, typescript: { ignoreBuildErrors: true, }, eslint: { ignoreDuringBuilds: true, }, images: { unoptimized: true, remotePatterns: [ { protocol: 'https', hostname: '**', }, ], }, async rewrites() { return [ { source: '/home', destination: '/web_pages/home', }, { source: '/services', destination: '/web_pages/services', }, { source: '/contact', destination: '/web_pages/contact', }, { source: '/reportar', destination: '/web_pages/reportar', }, ]; }, }; export default nextConfig;