Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
alifnaufalyasin committed Oct 20, 2023
1 parent d157157 commit 2fb289d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ module.exports = withPlugins([optimizedImages], nextConfig);
module.exports = {
webpack5: true,
webpack: (config) => {
config.resolve.fallback = { fs: false };
config.resolve.fallback = {
fs: false,
path: false
};

return config;
},
Expand Down

0 comments on commit 2fb289d

Please sign in to comment.