aboutsummaryrefslogtreecommitdiff
path: root/src/linker.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/linker.zig')
-rw-r--r--src/linker.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/linker.zig b/src/linker.zig
index 884dfe6ee..db9db78e0 100644
--- a/src/linker.zig
+++ b/src/linker.zig
@@ -8,4 +8,9 @@ pub const Linker = struct {
pub fn requireOrImportMetaForSource(c: Linker, source_index: Ref.Int) RequireOrImportMeta {
return RequireOrImportMeta{};
}
+
+ // This modifies the Ast in-place!
+ // But more importantly, this does the following:
+ // - Wrap CommonJS files
+ pub fn link(allocator: *std.mem.Allocator, ast: *js_ast.Ast) !void {}
};