Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-Node.js runtimes compatibility #3

Open
sergiodxa opened this issue Jun 21, 2024 · 0 comments
Open

Non-Node.js runtimes compatibility #3

sergiodxa opened this issue Jun 21, 2024 · 0 comments

Comments

@sergiodxa
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant