Skip to content

Conversation

@florian-lefebvre
Copy link
Member

Changes

  • Makes so that the fonts runtime is type checked and used as an entrypoint only. It matches the work made for actions virtual modules in v6
  • This PR is mostly about moving code around, which makes the diff big
  • Moves the functions that were defined in runtime.ts to core/<name>.ts
  • Moves the code that was defined inline in the assets virtual module to runtime.ts
  • Moves tests

Testing

Updated. Tests are added for createGetFontData()

Docs

N/A, internal refactor

@florian-lefebvre florian-lefebvre self-assigned this Jan 13, 2026
@changeset-bot
Copy link

changeset-bot bot commented Jan 13, 2026

⚠️ No Changeset found

Latest commit: 7210f3a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Jan 13, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Jan 13, 2026

Merging this PR will not alter performance

✅ 9 untouched benchmarks


Comparing refactor/fonts-runtime-entrypoint-only (7210f3a) with main (37ab65a)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (7f449b7) during the generation of this report, so 37ab65a was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants