Using a skeleton bun project following the guideline https://bun.sh/guides/ecosystem/sveltekit and replacing @sveltejs/adapter-auto with svelte-adapter-bun, I get the following error when running.
bun --bun run ./build/index.js
572 | }, globals = {
573 | File
574 | };
575 | function installPolyfills() {
576 | for (let name in globals)
577 | Object.defineProperty(globalThis, name, {
^
TypeError: Attempting to change configurable attribute of unconfigurable property.
at installPolyfills (/home/peterl/Code/my-app/build/index.js:577:4)
at /home/peterl/Code/my-app/build/index.js:587:0
Executing dev, build, and preview work flawlessly.
Using a skeleton bun project following the guideline https://bun.sh/guides/ecosystem/sveltekit and replacing @sveltejs/adapter-auto with svelte-adapter-bun, I get the following error when running.
Executing dev, build, and preview work flawlessly.
Is the polyfill for the File class legacy code?