diff options
author | 2021-09-12 00:39:57 -0700 | |
---|---|---|
committer | 2021-09-12 00:39:57 -0700 | |
commit | 350569655bcf4348d521f20cec4da7aee55ae102 (patch) | |
tree | aa278040f04d477739a16aef25991ca1ce7cd4ed /src/fs.zig | |
parent | 092f9ac766ff532cb34587b5d93c401070cc79cf (diff) | |
download | bun-350569655bcf4348d521f20cec4da7aee55ae102.tar.gz bun-350569655bcf4348d521f20cec4da7aee55ae102.tar.zst bun-350569655bcf4348d521f20cec4da7aee55ae102.zip |
Support bundling dynamically imported modules.
Diffstat (limited to 'src/fs.zig')
-rw-r--r-- | src/fs.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs.zig b/src/fs.zig index f1e572835..a64cb7555 100644 --- a/src/fs.zig +++ b/src/fs.zig @@ -903,6 +903,7 @@ pub const FileSystem = struct { var _kind = stat.kind; var cache = Entry.Cache{ .kind = Entry.Kind.file, .symlink = "" }; var symlink: []const u8 = ""; + if (is_symlink) { var file = if (existing_fd != 0) std.fs.File{ .handle = existing_fd } else try std.fs.openFileAbsoluteZ(absolute_path_c, .{ .read = true }); setMaxFd(file.handle); |