mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### Why? Turbopack throws a build error (next just logs an error). Also probably better to test with real font files in general. Closes PACK-2324
7 lines
142 B
JavaScript
7 lines
142 B
JavaScript
import localFont from 'next/font/local'
|
|
|
|
export const font1 = localFont({
|
|
src: '../../fonts/font1_roboto.woff2',
|
|
variable: '--font-1',
|
|
})
|