Skip to content

Commit

Permalink
optimizePackageImports to hopefully fix too many open files (#4508)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraeth-eth authored Nov 21, 2024
1 parent 66523fd commit 2904662
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ const CONNECT_SRC = [
'https://api.ensideas.com',
'https://cloudflare-eth.com',
'https://rpc.sepolia.org/',
'https://sepolia-rollup.arbitrum.io/rpc',
'https://sepolia.optimism.io'
'https://sepolia-rollup.arbitrum.io/rpc',
'https://sepolia.optimism.io',
]

const FRAME_ANCESTORS = [
Expand Down Expand Up @@ -126,6 +126,7 @@ const SECURITY_HEADERS = [
const nextConfig = removeImports({
experimental: {
esmExternals: true,
optimizePackageImports: ['juice-sdk-core', 'juice-sdk-react'],
},
staticPageGenerationTimeout: 90,
webpack: config => {
Expand Down

0 comments on commit 2904662

Please sign in to comment.