Skip to content

Get rid of require() call in sdks/typescript/ ... /Fetcher.ts #982

@abcxff

Description

@abcxff

https://github.com/rivet-gg/rivet/blob/8413349876f7e70d19b0b4a5497d571cf7bcef74/sdks/runtime/typescript/src/core/fetcher/Fetcher.ts#L76

We spoke about this sometime in the past: this breaks the compilation/use of esm modules and it might be better to just assume fetch exists (as it exists by default in node as well)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions