Buckets:
| // Validate next version | |
| const semver = require('next/dist/compiled/semver') | |
| if (semver.lt(require('next/package.json').version, '13.0.0')) { | |
| throw new Error('`@next/font` is only available in Next.js 13 and newer.') | |
| } | |
| let message = '@next/font/google failed to run or is incorrectly configured.' | |
| if (process.env.NODE_ENV === 'development') { | |
| message += | |
| '\nIf you just installed `@next/font`, please try restarting `next dev` and resaving your file.' | |
| } | |
| message += `\n\nRead more: https://nextjs.org/docs/app/building-your-application/optimizing/fonts` | |
| throw new Error(message) | |
Xet Storage Details
- Size:
- 588 Bytes
- Xet hash:
- cbb76e7fb7f983e19e119c761610c58dd61c4f9900b72334bb7d72c1ad6b9ea5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.