Feature Request: Configure The Build Command #19460
johngeorgewright
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be very helpful if the
build
command also read thebunfig.toml
file. This way we could use the same preloaders, configured in our bunfig, without having to write another script.# If this were to read the bunfig above, then it would include the preloaders. bun build --watch --entrypoints ./foo.ts --outdir dist
Currently I need to write a script to do this and that reuses the plugins, before they're added with the
plugin()
function:What's worse is that if I use the
--watch
flag on the command above, it only watches thebuild.ts
and not the entrypoints. So then I need to write my own watcher too 😢Beta Was this translation helpful? Give feedback.
All reactions