aboutsummaryrefslogtreecommitdiff
path: root/src/bundler.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/bundler.zig')
-rw-r--r--src/bundler.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bundler.zig b/src/bundler.zig
index ed5b7625d..b3ac6fdc1 100644
--- a/src/bundler.zig
+++ b/src/bundler.zig
@@ -178,6 +178,7 @@ pub const Bundler = struct {
js_printer.Options{
.to_module_ref = Ref.RuntimeRef,
.externals = ast.externals,
+ .runtime_imports = ast.runtime_imports,
},
&bundler.linker,
);
@@ -685,6 +686,7 @@ pub const Transformer = struct {
js_printer.Options{
.to_module_ref = ast.module_ref orelse js_ast.Ref{ .inner_index = 0 },
.transform_imports = false,
+ .runtime_imports = ast.runtime_imports,
},
null,
);