Bun html dev server ReferenceError: exports is not defined
when using certain dependencies
#17991
Labels
bake:dev
hot-reloading dev server for client+server applications
bug
Something isn't working
confirmed bug
We can reproduce this issue
What version of Bun is running?
1.2.5-canary.109+589fa6274
What platform is your computer?
windows
What steps can reproduce the bug?
index.js
andindex.html
@paralleldrive/cuid2
bun index.html
What is the expected behavior?
to log a random string in console
What do you see instead?
Additional information
Works in
bun build
of the html/js, and in normal runtimeThe text was updated successfully, but these errors were encountered: