aboutsummaryrefslogtreecommitdiff
path: root/src/node_module_bundle.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-08 18:54:54 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-08 18:54:54 -0800
commit701d6ec45d7e339b352b37869bd2a7d4849b35fb (patch)
treea88a0b03a2e644d5e1bd51eb609526b75f78ef53 /src/node_module_bundle.zig
parent787769ac3912fce6d1ffdbd384f19b800e133362 (diff)
downloadbun-701d6ec45d7e339b352b37869bd2a7d4849b35fb.tar.gz
bun-701d6ec45d7e339b352b37869bd2a7d4849b35fb.tar.zst
bun-701d6ec45d7e339b352b37869bd2a7d4849b35fb.zip
rename _global -> bun
Diffstat (limited to 'src/node_module_bundle.zig')
-rw-r--r--src/node_module_bundle.zig24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/node_module_bundle.zig b/src/node_module_bundle.zig
index 4181dd988..bf8fdb8da 100644
--- a/src/node_module_bundle.zig
+++ b/src/node_module_bundle.zig
@@ -2,18 +2,18 @@ const schema = @import("./api/schema.zig");
const Api = schema.Api;
const std = @import("std");
const Fs = @import("./fs.zig");
-const _global = @import("global.zig");
-const string = _global.string;
-const Output = _global.Output;
-const Global = _global.Global;
-const Environment = _global.Environment;
-const strings = _global.strings;
-const MutableString = _global.MutableString;
-const FileDescriptorType = _global.FileDescriptorType;
-const StoredFileDescriptorType = _global.StoredFileDescriptorType;
-const stringZ = _global.stringZ;
-const default_allocator = _global.default_allocator;
-const C = _global.C;
+const bun = @import("global.zig");
+const string = bun.string;
+const Output = bun.Output;
+const Global = bun.Global;
+const Environment = bun.Environment;
+const strings = bun.strings;
+const MutableString = bun.MutableString;
+const FileDescriptorType = bun.FileDescriptorType;
+const StoredFileDescriptorType = bun.StoredFileDescriptorType;
+const stringZ = bun.stringZ;
+const default_allocator = bun.default_allocator;
+const C = bun.C;
pub fn modulesIn(bundle: *const Api.JavascriptBundle, pkg: *const Api.JavascriptBundledPackage) []const Api.JavascriptBundledModule {
return bundle.modules[pkg.modules_offset .. pkg.modules_offset + pkg.modules_length];