Skip to content

Commit 98d5f78

Browse files
committed
style(cli): the embedSystemFonts doc fits in two lines
1 parent 3c30c0a commit 98d5f78

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎packages/cli/src/cloud/fontPreflight.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ const placeholderFace = (family: string) =>
8383

8484
/**
8585
* Adds the system fonts the project uses to its entry page as inline @font-face rules, so the zip carries them.
86-
* A family with no font file on this machine gets an empty face, so the cloud renders it with the same fallback a
87-
* local render uses; those families are returned, for the caller to name.
86+
* A family with no font file here gets an empty face (the local fallback) and is returned for the caller to name.
8887
*/
8988
export async function embedSystemFonts(
9089
opts: { dir: string; entryFile?: string; entryPath: string; fileMap: Map<string, StagedFile> },

0 commit comments

Comments
 (0)