Files
hyperframes/packages
Vance Ingalls aa10d49234 fix(cli): resolve producer font-localization at runtime so vitest transform doesn't fail
The CLI test job builds with --filter '!@hyperframes/producer', and render.ts
imports producer only as a type — so a static import("@hyperframes/producer")
in the font-localization helper failed Vitest's transform-time module
resolution ("Failed to resolve entry for package"), breaking checkBrowser
tests and the helper's own test. Keep the specifier out of the static module
graph (@vite-ignore + variable specifier) so it resolves at runtime only:
production/installed CLI has producer in node_modules and localizes fonts;
the test env fail-opens to the plain bundle. Localizer is now injectable so
the helper's unit tests cover it without needing producer resolvable.
2026-07-11 16:30:13 -07:00
..
2026-07-11 15:59:07 -04:00
2026-07-11 15:59:07 -04:00
2026-07-11 15:59:07 -04:00
2026-07-11 15:59:07 -04:00
2026-07-11 15:59:07 -04:00
2026-07-11 15:59:07 -04:00
2026-07-11 15:59:07 -04:00