From 11aa17a57cc679d34e8e6f6f7aa665f565cb7305 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Mon, 5 Sep 2022 23:05:22 -0700 Subject: Support async `onLoad` callbacks in `Bun.plugin` --- src/runtime.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/runtime.zig') diff --git a/src/runtime.zig b/src/runtime.zig index bf589c54f..1a490e4d2 100644 --- a/src/runtime.zig +++ b/src/runtime.zig @@ -322,6 +322,8 @@ pub const Runtime = struct { replace_exports: ReplaceableExport.Map = .{}, + hoist_bun_plugin: bool = false, + pub const ReplaceableExport = union(enum) { delete: void, replace: JSAst.Expr, -- cgit v1.2.3