import path from 'path' import { fileURLToPath } from 'url' const __dirname = path.dirname(fileURLToPath(import.meta.url)) /** @type {import('next').NextConfig} */ const nextConfig = { output: 'export', trailingSlash: true, images: { unoptimized: true, }, typescript: { ignoreBuildErrors: true, }, eslint: { ignoreDuringBuilds: true, }, webpack(config) { config.resolve.alias = { ...config.resolve.alias, '@': path.resolve(__dirname, 'src'), } // Disable pack cache to avoid NFS race conditions with output manifests config.cache = false return config }, } export default nextConfig