diff --git a/lib/node/NodeTargetPlugin.js b/lib/node/NodeTargetPlugin.js index 13165fc8727..c5f7961c104 100644 --- a/lib/node/NodeTargetPlugin.js +++ b/lib/node/NodeTargetPlugin.js @@ -20,6 +20,7 @@ const builtins = [ "crypto", "dgram", "dns", + "dns/promises", "domain", "events", "fs", @@ -39,9 +40,11 @@ const builtins = [ "readline", "repl", "stream", + "stream/promises", "string_decoder", "sys", "timers", + "timers/promises", "tls", "trace_events", "tty", @@ -49,6 +52,7 @@ const builtins = [ "util", "v8", "vm", + "wasi", "worker_threads", "zlib" ];