Skip to content

Commit

Permalink
https://github.com/phosphor-icons/react/issues/45#issuecomment-177384…
Browse files Browse the repository at this point in the history
…0947
  • Loading branch information
GraemeFulton committed Feb 10, 2024
1 parent 0d95bcd commit 56d0cba
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ module.exports =
locales: ["en-US", "es-ES"],
defaultLocale: "en-US",
},
modularizeImports: {
"@phosphor-icons/react": {
transform: "@phosphor-icons/react/{{member}}",
},
},
// modularizeImports: {
// "@phosphor-icons/react": {
// transform: "@phosphor-icons/react/{{member}}",
// },
// },
async redirects() {
return [
{
Expand Down Expand Up @@ -159,6 +159,7 @@ module.exports =
scrollRestoration: true,
legacyBrowsers: false,
browsersListForSwc: true,
optimizePackageImports: ['@phosphor-icons/react']
},
images: {
domains: [
Expand Down

0 comments on commit 56d0cba

Please sign in to comment.