Migrate to next 16.2.10

This commit is contained in:
Rami Bitar
2026-07-17 15:05:00 -04:00
parent d919ec4788
commit 4c35335b64
6 changed files with 8266 additions and 5674 deletions

34
next.config.js Normal file
View File

@@ -0,0 +1,34 @@
module.exports = {
reactStrictMode: true,
typescript: {
ignoreBuildErrors: true,
},
images: {
unoptimized: true,
remotePatterns: [
{
protocol: "https",
hostname: "images.unsplash.com",
},
{
protocol: "https",
hostname: "cdn.shopify.com",
},
{
protocol: "https",
hostname: "**.frontend.co",
},
],
},
experimental: {
reactDebugChannel: false,
},
webpack: (config, { isServer }) => {
config.cache = { type: "memory" };
if (isServer) {
config.optimization = config.optimization || {};
config.optimization.splitChunks = false;
}
return config;
},
};