create-ignite-app icon indicating copy to clipboard operation
create-ignite-app copied to clipboard

Look into using NextJS new localFont loader

Open maeertin opened this issue 3 years ago • 3 comments

https://nextjs.org/docs/basic-features/font-optimization#local-fonts

maeertin avatar Nov 07 '22 11:11 maeertin

Let's see if this inlines the fonts and if it performs better

alexanderflink avatar Nov 07 '22 12:11 alexanderflink

Just tried this and looks like it requires SWC:

Syntax error: "@next/font" requires SWC although Babel is being used due to a custom babel config being present. Read more: https://nextjs.org/docs/messages/babel-font-loader-conflict

Blocked by #79

ghost avatar Jan 18 '23 09:01 ghost

This is a great reason to go to SWC!

alexanderflink avatar Jan 23 '23 14:01 alexanderflink

Closing PR as no longer relevant as "cia" is now purely a documentation app.

maeertin avatar Aug 23 '24 12:08 maeertin