aboutsummaryrefslogtreecommitdiff
path: root/src/node_module_bundle.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_module_bundle.zig')
-rw-r--r--src/node_module_bundle.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/node_module_bundle.zig b/src/node_module_bundle.zig
index ccf7877e7..5a052da18 100644
--- a/src/node_module_bundle.zig
+++ b/src/node_module_bundle.zig
@@ -172,11 +172,12 @@ pub const NodeModuleBundle = struct {
to: *const Api.JavascriptBundledModule,
allocator: std.mem.Allocator,
) !string {
+ const fmt = bun.fmt.hexIntLower(this.bundle.packages[to.package_id].hash);
return try std.fmt.allocPrint(
allocator,
- "{x}/{s}",
+ "{any}/{s}",
.{
- this.bundle.packages[to.package_id].hash,
+ fmt,
this.str(to.path),
123,
},