Skip to content

Typeface data should end up as requires from local file #1

@johno

Description

@johno

In order to avoid duplicate data we should have a structure like:

{
  // ...
  typefaces: {
    normal: {
      400: require('./typefaces/normal-400.json')
      // ...
    }
    // ...
  }
}

This should knock out about half the size of installed font packages, ending up in the range of 250-700kB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions