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

Integrating polyfills for node in cloudflare e.g. url, http, crypto #85

Open
Gooseware opened this issue May 27, 2022 · 0 comments
Open

Comments

@Gooseware
Copy link

Hi All ... is there a good way to polyfill ? I have tried to use this https://medium.com/@ftaioli/using-node-js-builtin-modules-with-vite-6194737c2cd2 ... but it doesn't seem to be working.

There are some functions server side that i would like to get working that use crypto, http, and url... i could find other ways of doing the same thing but i think a clear guide on how to implement polyfills using vitedge would be pretty good moving forward.

(bonus marks for fs if we can get parity of the interface into KV it would be a pretty nice bonus Cloudflare polyfill)

@Gooseware Gooseware changed the title Integrating polyfills for node in cloudflare e.g. url, http, crypto) Integrating polyfills for node in cloudflare e.g. url, http, crypto May 27, 2022
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