diff options
author | 2023-08-05 04:42:30 -0700 | |
---|---|---|
committer | 2023-08-05 04:42:30 -0700 | |
commit | 3803d398408044b36e1f4cf0db37c490270113f0 (patch) | |
tree | 4f59dc16bd151c0cc3af1b76c98160c0a0afcedd /src/bundler.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/bundler.zig')
-rw-r--r-- | src/bundler.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bundler.zig b/src/bundler.zig index 3f744b8fc..b3e62a43d 100644 --- a/src/bundler.zig +++ b/src/bundler.zig @@ -1258,7 +1258,6 @@ pub const Bundler = struct { macro_js_ctx: MacroJSValueType = default_macro_js_value, virtual_source: ?*const logger.Source = null, replace_exports: runtime.Runtime.Features.ReplaceableExport.Map = .{}, - hoist_bun_plugin: bool = false, inject_jest_globals: bool = false, dont_bundle_twice: bool = false, @@ -1412,7 +1411,6 @@ pub const Bundler = struct { strings.eqlComptime(jsx.import_source.production, "react/jsx-runtime"); opts.features.jsx_optimization_hoist = bundler.options.jsx_optimization_hoist orelse opts.features.jsx_optimization_inline; - opts.features.hoist_bun_plugin = this_parse.hoist_bun_plugin; opts.features.inject_jest_globals = this_parse.inject_jest_globals; opts.features.minify_syntax = bundler.options.minify_syntax; opts.features.minify_identifiers = bundler.options.minify_identifiers; |