diff --git a/src/presets/cloudflare.ts b/src/presets/cloudflare.ts index bd8bafad..141aa8e5 100644 --- a/src/presets/cloudflare.ts +++ b/src/presets/cloudflare.ts @@ -18,6 +18,8 @@ const cloudflareNodeCompatModules = [ "dns", "dns/promises", "events", + "net", + "net/promises", "path", "path/posix", "path/win32", @@ -27,6 +29,8 @@ const cloudflareNodeCompatModules = [ "stream/promises", "stream/web", "string_decoder", + "timers", + "timers/promises", "url", "util/types", "zlib", @@ -40,7 +44,6 @@ const hybridNodeCompatModules = [ "crypto", "module", "process", - "timers", "util", ];