Files
FTP/next.config.ts
asabizanjo 423ce1bc6d gucci
2025-12-11 01:05:24 +00:00

19 lines
438 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Disable server/dev sourcemaps to avoid Windows source map parse warnings
productionBrowserSourceMaps: false,
webpack: (config, { dev, isServer }) => {
if (dev && isServer) {
config.devtool = false;
}
return config;
},
// Acknowledge Turbopack config to silence migration warning
turbopack: {},
};
export default nextConfig;