diff options
Diffstat (limited to '')
| -rw-r--r-- | src/runtime.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime.zig b/src/runtime.zig index c79bf328f..9317324e9 100644 --- a/src/runtime.zig +++ b/src/runtime.zig @@ -277,6 +277,12 @@ pub const Runtime = struct { trim_unused_imports: bool = false, should_fold_numeric_constants: bool = false, + /// inject this at the top of the file? + /// ```js + /// var require = import.meta.require.bind(import.meta); + /// ``` + dynamic_require: bool = false, + replace_exports: ReplaceableExport.Map = .{}, pub const ReplaceableExport = union(enum) { |
