diff options
author | 2023-08-05 04:42:30 -0700 | |
---|---|---|
committer | 2023-08-05 04:42:30 -0700 | |
commit | 3803d398408044b36e1f4cf0db37c490270113f0 (patch) | |
tree | 4f59dc16bd151c0cc3af1b76c98160c0a0afcedd /src/js_ast.zig | |
parent | 78081cbb40b3149be3fcd7f050ec365c499421d0 (diff) | |
download | bun-3803d398408044b36e1f4cf0db37c490270113f0.tar.gz bun-3803d398408044b36e1f4cf0db37c490270113f0.tar.zst bun-3803d398408044b36e1f4cf0db37c490270113f0.zip |
Remove Bun.plugin transpiler hook, encourage usage of `--preload` instead (#3987)
* Remove Bun.plugin transpiler hook
* one missing case
Diffstat (limited to 'src/js_ast.zig')
-rw-r--r-- | src/js_ast.zig | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/js_ast.zig b/src/js_ast.zig index 62089b3b2..b37e93be5 100644 --- a/src/js_ast.zig +++ b/src/js_ast.zig @@ -5947,8 +5947,6 @@ pub const Ast = struct { wrapper_ref: Ref = Ref.None, require_ref: Ref = Ref.None, - bun_plugin: BunPlugin = .{}, - prepend_part: ?Part = null, // These are used when bundling. They are filled in during the parser pass @@ -6420,7 +6418,6 @@ pub const Part = struct { cjs_imports, react_fast_refresh, dirname_filename, - bun_plugin, bun_test, dead_due_to_inlining, commonjs_named_export, @@ -6688,11 +6685,6 @@ pub fn printmem(comptime format: string, args: anytype) void { Output.print(format, args); } -pub const BunPlugin = struct { - ref: Ref = Ref.None, - hoisted_stmts: std.ArrayListUnmanaged(Stmt) = .{}, -}; - pub const Macro = struct { const JavaScript = @import("root").bun.JSC; const JSCBase = @import("./bun.js/base.zig"); |