aboutsummaryrefslogtreecommitdiff
path: root/src/linker.zig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/linker.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linker.zig b/src/linker.zig
index ee77fecce..382fc721c 100644
--- a/src/linker.zig
+++ b/src/linker.zig
@@ -165,7 +165,7 @@ pub const Linker = struct {
}
pub inline fn nodeModuleBundleImportPath(this: *const ThisLinker) string {
- if (this.options.platform == .bun) return "/node_modules.server.bun";
+ if (this.options.platform.isBun()) return "/node_modules.server.bun";
return if (this.options.node_modules_bundle_url.len > 0)
this.options.node_modules_bundle_url