Skip to content

Non-Node.js runtimes compatibility #3

@sergiodxa

Description

@sergiodxa

Remix apps can be run on Node.js, Deno, Cloudflare, Bun, or any JS runtime in general. I saw the package always use @remix-run/node so it can't be used on any other JS runtime.

Is the core of WorkOS not compatible with other JS runtimes? If it could run on other runtimes, you could import from @remix-run/server-runtime package as this is a runtime agnostic package, and then adjust the code to support other runtimes requirements, e.g. on CF you can't use process.env so any env variable should be received as an argument of a function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions