next.js 16 with turbopack - fonts import issues #22311
Unanswered
oleksiibruma-max
asked this question in
Help
Replies: 1 comment
-
|
Thank you Works for me |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In app.scss I have
When I run
npm run buildI am getting
`Import trace:
Browser:
./styles/app.scss.css
./pages/_app.tsx
https://nextjs.org/docs/messages/module-not-found
./styles/app.scss.css:1:37878
Module not found: Can't resolve '~@ibm/plex/IBM-Plex-Serif/fonts/split/woff2/IBMPlexSerif-SemiBoldItalic-Latin3.woff2'
for all fonts
I think the issue with '~' which is not supported in turbopack.
Can someone help to resolve it?
Many thanks.
Beta Was this translation helpful? Give feedback.
All reactions