-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21247 from alex-ahumada/migrate-next-font
Use stable Next.js v13.2.0 next/font
- Loading branch information
Showing
16 changed files
with
242 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
code/frameworks/nextjs/src/babel/plugins/next-font-unsupported.ts
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
code/frameworks/nextjs/src/babel/plugins/next-page-disallow-re-export-all-exports.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
code/frameworks/nextjs/src/font/webpack/loader/google/get-font-face-declarations.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
export type LoaderOptions = { | ||
/** | ||
* Initial import name. Can be `@next/font/google` or `@next/font/local` | ||
* Initial import name. Can be `next/font/google` or `next/font/local` | ||
*/ | ||
source: string; | ||
/** | ||
* Props passed to the `@next/font` function call | ||
* Props passed to the `next/font` function call | ||
*/ | ||
props: Record<string, any>; | ||
/** | ||
* Font Family name | ||
*/ | ||
fontFamily: string; | ||
/** | ||
* Filename of the issuer file, which imports `@next/font/google` or `@next/font/local | ||
* Filename of the issuer file, which imports `next/font/google` or `next/font/local | ||
*/ | ||
filename: string; | ||
}; |
Oops, something went wrong.