diff options
author | 2023-09-23 05:57:40 -0700 | |
---|---|---|
committer | 2023-09-23 05:57:40 -0700 | |
commit | 68c8377d76c6e1271e25f862614ce9270a64857d (patch) | |
tree | 593abaf3066e31eba38d96daf6a7e220398b718a /src/import_record.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/import_record.zig')
-rw-r--r-- | src/import_record.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/import_record.zig b/src/import_record.zig index d48cfb1b0..7577b4af9 100644 --- a/src/import_record.zig +++ b/src/import_record.zig @@ -166,6 +166,9 @@ pub const ImportRecord = struct { /// If true, this import can be removed if it's unused is_external_without_side_effects: bool = false, + /// Used for async transpilation of CommonJS modules at runtime + is_top_level_require: bool = false, + kind: ImportKind, tag: Tag = Tag.none, |