diff options
author | 2023-09-23 05:57:40 -0700 | |
---|---|---|
committer | 2023-09-23 05:57:40 -0700 | |
commit | 68c8377d76c6e1271e25f862614ce9270a64857d (patch) | |
tree | 593abaf3066e31eba38d96daf6a7e220398b718a /src/js_parser.zig | |
parent | ec0e931e9f7934f4f1f7617eac2a880d13794d0c (diff) | |
download | bun-jarred/cjs2.tar.gz bun-jarred/cjs2.tar.zst bun-jarred/cjs2.zip |
WIP concurrent CommonJSjarred/cjs2
Diffstat (limited to 'src/js_parser.zig')
-rw-r--r-- | src/js_parser.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js_parser.zig b/src/js_parser.zig index e4dbaf25b..73a91b225 100644 --- a/src/js_parser.zig +++ b/src/js_parser.zig @@ -11669,6 +11669,7 @@ fn NewParser_( .kind = kind, .range = range, .path = path, + .is_top_level_require = kind == .require and p.current_scope.parent == null, }; p.import_records.append(record) catch unreachable; return @as(u32, @intCast(index)); |