Skip to content

Commit

Permalink
Vercel build error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMaxito committed Nov 15, 2024
1 parent 8d4b4d5 commit 860b387
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'wewhpssvfvsmxhqhdtwu.supabase.co',
pathname: '/storage/v1/object/public/**',
},
],
},
};

module.exports = nextConfig;
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'wewhpssvfvsmxhqhdtwu.supabase.co',
pathname: '/storage/v1/object/public/**',
},
],
},
webpack: (config) => {
config.resolve.fallback = {
...config.resolve.fallback,
bufferutil: false,
'utf-8-validate': false,
};
return config;
},
};

module.exports = nextConfig;

0 comments on commit 860b387

Please sign in to comment.