You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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
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)
The text was updated successfully, but these errors were encountered: