Skip to content

Commit

Permalink
add optimizePackageImports: ['@components/icons'] for nextra.site (#…
Browse files Browse the repository at this point in the history
…3350)

Update next.config.mjs
  • Loading branch information
dimaMachina authored Oct 3, 2024
1 parent 77753a2 commit cba20a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,8 @@ export default withNextra({
use: ['@svgr/webpack']
})
return config
},
experimental: {
optimizePackageImports: ['@components/icons']
}
})

0 comments on commit cba20a8

Please sign in to comment.