Agnostic (Edge) Runtime support #224
Closed
thescientist13
started this conversation in
Ideas
Replies: 2 comments
-
|
While |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
FWIW, now with most runtimes supporting NodeJS APIs out of the box, WCC can run on all the above runtimes and hosting providers. However, not having to use Node APIs internally would be great, but with all the dependencies we use, not sure it would be entirely feasible. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
To maximize the potential and viability of
wccacross as many runtimes as possible, an effort should be undertaken to ensure support across "standards" based serverless and edge runtime environments. Serverless environments are a little more forgiving, but edge functions typically cannot not use things like Node'sfsor CommonJS. However, they do (plan to) standardize on Web APIs likefetch,RequestandResponse.Details
Basically need to evaluate and allow
wccto be usable outside of just NodeJS. That will mean validating our dependencies for their module system, and any usage of Node specific APIs likefs. Perhaps this may require a pre-bundle if there is an expectation of ESM only as well, but we will have to see.I think it would be great to reach
Beta Was this translation helpful? Give feedback.
All reactions