mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
vite.config.ts imported createFsAdapter from @hyperframes/sdk/adapters/fs. Vite leaves a bare import in a config file to Node, and that export points at src/adapters/fs.ts, so Node had to load a .ts file itself. Node only does that without a flag from 22.18, and on 22.0 to 22.17 build, dev and test all stopped with ERR_UNKNOWN_FILE_EXTENSION, which also failed the last step of the root build. The config now imports the adapter by its relative source path, which Vite bundles with the config on every Node version. Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>