RFC: node_compat
next steps
#1987
Labels
discussion
This issue is being used to discuss a topic rather than track a feature or bug.
node_compat
next steps
#1987
Discussed in #1975
Originally posted by threepointone June 24, 2022
We've landed preliminary support for node.js compatibility in 2.0, powered by @esbuild-plugins/node-modules-polyfill/@esbuild-plugins/node-globals-polyfill. We can also auto detect usage of node built-ins, and suggest to the user to add
node_compat = true
to theirwrangler.toml
. This was a good start. Follow up items.http
are built on XMLHTTPRequest, which isn't available in Workers. We'd need to rebuild it withfetch
(if that's feasible)cc @jasnell who I bet would be interested.
The text was updated successfully, but these errors were encountered: