aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bun.js/api/JSBundler.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bun.js/api/JSBundler.zig b/src/bun.js/api/JSBundler.zig
index 7db9702a7..67e3f5295 100644
--- a/src/bun.js/api/JSBundler.zig
+++ b/src/bun.js/api/JSBundler.zig
@@ -678,6 +678,7 @@ pub const JSBundler = struct {
source_code_value: JSValue,
loader_as_int: JSValue,
) void {
+ JSC.markBinding(@src());
var completion = this.completion orelse {
this.deinit();
return;
@@ -719,6 +720,7 @@ pub const JSBundler = struct {
pub const Plugin = opaque {
extern fn JSBundlerPlugin__create(*JSC.JSGlobalObject, JSC.JSGlobalObject.BunPluginTarget) *Plugin;
pub fn create(globalObject: *JSC.JSGlobalObject, target: JSC.JSGlobalObject.BunPluginTarget) *Plugin {
+ JSC.markBinding(@src());
var plugin = JSBundlerPlugin__create(globalObject, target);
JSC.JSValue.fromCell(plugin).protect();
return plugin;
@@ -757,6 +759,7 @@ pub const JSBundler = struct {
path: *const Fs.Path,
is_onLoad: bool,
) bool {
+ JSC.markBinding(@src());
const namespace_string = if (path.isFile())
ZigString.Empty
else
01-29Add the possiblity to enable debug mode with an environment variableGravatar Frédéric Guillot 2-1/+6 2018-01-29Keep code base tidyGravatar Frédéric Guillot 5-18/+16 2018-01-29Add flag to enable debug loggingGravatar Rogier Lommers 2-7/+64 2018-01-25Improve unread counter updatesGravatar Mahendra Kalkura 1-6/+35