mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This applies next/font to third party code like that in `node_modules` Closes PACK-1964
10 lines
184 B
JavaScript
10 lines
184 B
JavaScript
import { font1 } from 'my-font'
|
|
|
|
export default function HomePage() {
|
|
return (
|
|
<p id="third-party-page" className={font1.className}>
|
|
{JSON.stringify(font1)}
|
|
</p>
|
|
)
|
|
}
|