mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +00:00
The hyperframeRuntimeLoader uses import.meta.url to resolve hyperframe.manifest.json as a sibling file. When bundled into the CLI via tsup, import.meta.url points to dist/cli.js, so the sibling lookup checks dist/hyperframe.manifest.json — which wasn't being shipped. Copy the manifest and the canonical-named runtime IIFE into dist/ during the build-runtime step so the loader's sibling-path resolution works in published npm packages. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>