Skip to content

Commit 8ae94cf

Browse files
Update README.md
Co-authored-by: Tobias Fried <[email protected]>
1 parent ed61cf0 commit 8ae94cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ To avoid transpiling all modules, import individual icons from their specific fi
4949
import { BellSimple } from "@phosphor-icons/react/dist/icons/BellSimple";
5050
```
5151

52-
**Alternatively,**
52+
#### Next.js Specific Optimizations
5353

5454
If you're using Next.js 13+, consider using [optimizePackageImports](https://nextjs.org/docs/app/api-reference/config/next-config-js/optimizePackageImports) in your next.config.js to have Next.js only load the modules that you are actually using. With this approach, you can use `@phosphor-icons/react` directly without causing Next.js to compile all its modules:
5555

0 commit comments

Comments
 (0)