diff options
author | 2022-09-05 23:05:22 -0700 | |
---|---|---|
committer | 2022-09-05 23:05:22 -0700 | |
commit | 11aa17a57cc679d34e8e6f6f7aa665f565cb7305 (patch) | |
tree | ccb9a605cb4bcc42c6b2665ddbf8d04af72d94c7 /src/runtime.zig | |
parent | d2397b60e79e4386c6a7b7a9783a6f8e379a5ae0 (diff) | |
download | bun-11aa17a57cc679d34e8e6f6f7aa665f565cb7305.tar.gz bun-11aa17a57cc679d34e8e6f6f7aa665f565cb7305.tar.zst bun-11aa17a57cc679d34e8e6f6f7aa665f565cb7305.zip |
Support async `onLoad` callbacks in `Bun.plugin`
Diffstat (limited to 'src/runtime.zig')
-rw-r--r-- | src/runtime.zig | 2 |
1 files changed, 2 insertions, 0 deletions
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, |