59b98bcd36
* nextjs project * new structure under Web3Modal * Add Web3Modal + Wagmi v2 example in React (#422) * refactor next * remove logs * update example * add custom button * add custom button * Update dapps/web3modal/react/package.json --------- Co-authored-by: Blessing Samuel <samuelblessing125@gmail.com>
19 lines
349 B
JavaScript
19 lines
349 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
webpack: config => {
|
|
config.externals.push('pino-pretty', 'lokijs', 'encoding')
|
|
return config
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'api.web3modal.com',
|
|
port: '',
|
|
},
|
|
],
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|