Skip to content

Commit

Permalink
feat: remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
yum0e committed Jul 25, 2023
1 parent bd888d5 commit 4626325
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion front/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,27 @@ const nextConfig = {
config.experiments = {
...config.experiments,
};
config.ignoreWarnings = [
{ module: /src\/utils\/useContract.tsx/ },
{ module: /src\/utils\/index.ts/ },
{ module: /src\/app\/page.tsx/ },

{ module: /node_modules\/node-fetch\/lib\/index\.js/ },
{ module: /node_modules\/cross-fetch\/polyfill\.js/ },
{ module: /node_modules\/@walletconnect\/keyvaluestorage\/dist\/cjs\/node-js\/db.js/ },
{ module: /node_modules\/@walletconnect\/keyvaluestorage\/dist\/cjs\/node-js\/index.js/ },
{ module: /node_modules\/@walletconnect\/keyvaluestorage\/dist\/cjs\/index.js/ },
{ module: /node_modules\/@walletconnect\/core\/dist\/index.cjs.js/ },
{ module: /node_modules\/@walletconnect\/sign-client\/dist\/index.cjs.js/ },
{ module: /node_modules\/@walletconnect\/universal-provider\/dist\/index.es.js/ },
{ module: /node_modules\/@walletconnect\/ethereum-provider\/dist\/index.es.js/ },
{ module: /node_modules\/@wagmi\/connectors\/dist\/walletConnect.js/ },
{ module: /node_modules\/@wagmi\/core\/dist\/connectors\/walletConnect.js/ },
{ module: /node_modules\/wagmi\/dist\/connectors\/walletConnect.js/ },
{ module: /node_modules\/@rainbow-me\/rainbowkit\/dist\/index.js/ },
];
return config;
},
};

module.exports = nextConfig;
module.exports = nextConfig;

0 comments on commit 4626325

Please sign in to comment.