diff options
author | 2023-07-19 19:39:02 -0300 | |
---|---|---|
committer | 2023-07-19 15:39:02 -0700 | |
commit | 568cadb51e971e568f35ac3efe36202e656c0fe6 (patch) | |
tree | 12b6fa3d61e6dc5b1f3b4bf64efd587076780928 /src/bun.js/module_loader.zig | |
parent | 0dbcb84cbe4684402a1da00f0eeecce545589385 (diff) | |
download | bun-568cadb51e971e568f35ac3efe36202e656c0fe6.tar.gz bun-568cadb51e971e568f35ac3efe36202e656c0fe6.tar.zst bun-568cadb51e971e568f35ac3efe36202e656c0fe6.zip |
move constants module to cpp (#3683)
Diffstat (limited to 'src/bun.js/module_loader.zig')
-rw-r--r-- | src/bun.js/module_loader.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bun.js/module_loader.zig b/src/bun.js/module_loader.zig index 6a04540b1..b5d2bdcc7 100644 --- a/src/bun.js/module_loader.zig +++ b/src/bun.js/module_loader.zig @@ -1813,7 +1813,7 @@ pub const ModuleLoader = struct { .@"node:tty" => return jsSyntheticModule(.@"node:tty", specifier), .@"node:util/types" => return jsSyntheticModule(.@"node:util/types", specifier), .@"bun:events_native" => return jsSyntheticModule(.@"bun:events_native", specifier), - + .@"node:constants" => return jsSyntheticModule(.@"node:constants", specifier), .@"node:fs/promises" => { return ResolvedSource{ .allocator = null, @@ -1847,7 +1847,6 @@ pub const ModuleLoader = struct { .@"node:async_hooks" => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .@"node:async_hooks", "node/async_hooks.js", specifier), .@"node:child_process" => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .@"node:child_process", "node/child_process.js", specifier), .@"node:crypto" => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .@"node:crypto", "node/crypto.js", specifier), - .@"node:constants" => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .@"node:constants", "node/constants.js", specifier), .@"node:dns" => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .@"node:dns", "node/dns.js", specifier), .@"node:dns/promises" => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .@"node:dns/promises", "node/dns.promises.js", specifier), .@"node:events" => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .@"node:child_process", "node/events.js", specifier), |