diff options
author | 2021-09-20 13:48:05 -0700 | |
---|---|---|
committer | 2021-09-20 13:48:05 -0700 | |
commit | 7e2539ed702f0667163b726a6bb12bbd5569979d (patch) | |
tree | 0daa2e883acb4e93a2df2bbb16eefb0dc7ce539f /src/linker.zig | |
parent | 60b5fb95b19b2f96dcfd851663b40e1155c9cc0e (diff) | |
download | bun-jarred/ast.tar.gz bun-jarred/ast.tar.zst bun-jarred/ast.zip |
WIPjarred/ast
Diffstat (limited to 'src/linker.zig')
-rw-r--r-- | src/linker.zig | 2 |
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 |