You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when registering a runtime a plugin like this Bun.plugin(), sometimes i wanna also use that plugin in Bun.build but Bun.plugin doesn't return it so i have to work around that like this:
// export for Bun.buildexportconstplugin: BunPlugin={}// register for runtimeBun.plugin(plugin)
the more optimal way this can be done is:
exportconstplugin: BunPlugin/* it's currently void */=Bun.plugin({})
What is the feature you are proposing to solve the problem?
make Bun.plugin return itself, BunPlugin!
What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered:
What is the problem this feature would solve?
when registering a runtime a plugin like this
Bun.plugin()
, sometimes i wanna also use that plugin inBun.build
butBun.plugin
doesn't return it so i have to work around that like this:the more optimal way this can be done is:
What is the feature you are proposing to solve the problem?
make
Bun.plugin
return itself,BunPlugin
!What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: