| Current Path : /home/zoomride2022/public_html/survo.app/ |
| Current File : /home/zoomride2022/public_html/survo.app/next.config.mjs |
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false,
devIndicators: {
buildActivity: false,
},
eslint: {
ignoreDuringBuilds: true,
},
productionBrowserSourceMaps: false,
// Server actions optimization (App Router safe)
experimental: {
serverActions: {
bodySizeLimit: '5mb',
},
},
webpack(config, { isServer }) {
// Prevent large cache files
config.cache = false;
// Remove unnecessary polyfills from client bundle
if (!isServer) {
config.resolve.fallback = {
fs: false,
net: false,
tls: false,
};
}
return config;
},
};
export default nextConfig;