diff options
Diffstat (limited to 'src/node_module_bundle.zig')
-rw-r--r-- | src/node_module_bundle.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_module_bundle.zig b/src/node_module_bundle.zig index ec85e4fb1..8642336e3 100644 --- a/src/node_module_bundle.zig +++ b/src/node_module_bundle.zig @@ -317,6 +317,10 @@ pub const NodeModuleBundle = struct { Output.prettyln(indent ++ "<b>{d:6} packages", .{this.bundle.packages.len}); } + pub fn codeStartOffset(this: *const NodeModuleBundle) u32 { + return @intCast(u32, jsbundle_prefix.len); + } + pub fn printSummaryFromDisk( comptime StreamType: type, input: StreamType, |