Pixijs built with Bun.build
fails to run in-browser whereas esbuild
's succeeds
#9360
Labels
bug
Something isn't working
What version of Bun is running?
1.0.30+1424a196f
What platform is your computer?
Darwin 23.3.0 arm64 arm
What steps can reproduce the bug?
Execution steps
Source files are lower down in this section for your copy-pasting.
bun run build_bun.ts
and useBun.serve
to observe the reported error.bun run build_esbuild.mjs
and useBun.serve
to see a black WebGL canvas created without error.Source files
./src/index.ts
index.html
Build files
Bun's version:
build_bun.ts
esbuild's version:
build_esbuild.mjs
Packages
package.json
Resolved package versions
What is the expected behavior?
Seeing a black WebGL canvas of the specified resolution with no errors in the browser console.
What do you see instead?
A DOM without a WebGL canvas and the following (equivalent) errors in the console for Firefox and Chrome respectively.
Additional information
Browsers tested:
Minimal Reproduceable Example
See: https://github.com/tsujp/pixijs_bun_bug_mre
The text was updated successfully, but these errors were encountered: