gucci
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
// 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;
|
||||
|
||||
Reference in New Issue
Block a user