fix: switch Google Fonts to runtime <link> tags for build environments without internet
- Replace next/font/google with <link> tags in <head> (loads fonts client-side at runtime) - Define --font-nunito and --font-pixel CSS variables in globals.css with font-family fallbacks - Remove @prisma/client from serverExternalPackages in next.config.ts (devDep only)
This commit is contained in:
1 parent
9a8905c726
commit
2f030deb42
3 files changed
+16
-18
No files matched your search
@@ -22,9 +22,7 @@ const securityHeaders = [
|
||||
const nextConfig: NextConfig = {
|
||||
turbopack: {},
|
||||
serverExternalPackages: [
|
||||
"@prisma/adapter-mariadb",
|
||||
"mariadb",
|
||||
"@prisma/client",
|
||||
"lzma",
|
||||
"sharp",
|
||||
"pino",
|
||||
|
||||
Reference in new issue
Block a user