What version of Bun is running?
1.3.11+af24e281e
What platform is your computer?
Darwin 25.3.0 arm64 arm
What steps can reproduce the bug?
A plugin like so:
build.onResolve({filter: /.html$/}, args => {
const env = 'browser'
const path = args.path + `?env=${env}`
//const path = args.path
console.log({path})
return {path}
})
What is the expected behavior?
Should allow query strings to be passed along.
What do you see instead?
Crash
Additional information