diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js_parser/js_parser.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js_parser/js_parser.zig b/src/js_parser/js_parser.zig index e9627f324..c93b58c06 100644 --- a/src/js_parser/js_parser.zig +++ b/src/js_parser/js_parser.zig @@ -2142,6 +2142,7 @@ pub const Parser = struct { ) catch unreachable; p.is_import_item.put(p.jsx_refresh_runtime_ref, true) catch unreachable; import_records[import_record_i] = import_record_id; + p.recordUsage(p.jsx_refresh_runtime_ref); } jsx_part_stmts[stmt_i] = p.s(S.Local{ .kind = .k_var, .decls = decls[0..decl_i] }, loc); |