-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch from PNPM to Bun, incl. dropping Jest & esbuild #1021
Conversation
Oh, even with my still too limited understanding of the Web ecosystem, I gather it's due to "module": "Node16",
"moduleResolution": "node16", then causes
How does one do this right?! PS: This is from & for #1019 ... |
node is not the right target as you want to target the web, try and change it to |
@edewit FYI I've just switched from https://pnpm.io to going all-in on https://bun.sh ... this SO much simpler! Enough already with pulling my hairs because CommonJS vs ES Modules (ESM), TS vs JS, separate bundlers and test frameworks. Bun "just works" - it's very cool. https://deno.com actually looks even better at least for backend, but less as frontend "runner" (like here). |
Changing this (see diff on Files changed tab) breaks the UI - see the
web/README.md
for how to reproduce:due to the TSC generated
web-out/script.js
containing this - whatever this means:@edewit you might have a clue about how to fix this? (If you even agree that
"type": "module"
is recommended? I read it is.)