Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpeapsUnterstrichHD committed Sep 15, 2024
1 parent 0c2151a commit d2df1ed
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@ const nextConfig = {
'.mjs',
'.json',
],
resolveAlias: {
fs: 'false',
crypto: {browser: 'crypto-browserify' },
stream: {browser: 'stream-browserify'},
},
}
},
},
images: {
unoptimized: true,
Expand All @@ -62,17 +57,6 @@ const nextConfig = {

FLAGS_SECRET: process.env.FLAGS_SECRET,
},
webpack: (config) => {
config.plugins.push(new NodePolyfillPlugin());

config.resolve.fallback = {
fs: false,
crypto: require.resolve('crypto-browserify'),
stream: require.resolve('stream-browserify'),
};

return config;
},
async redirects() {
return [
{
Expand Down

0 comments on commit d2df1ed

Please sign in to comment.