Readit News logoReadit News
spiros commented on Vite 8.0 Is Out   vite.dev/blog/announcing-... · Posted by u/kothariji
vite_throwaway · 3 days ago
I have a small React project using vite 7 and have the following in my config so that vite interprets ".js" files as JSX:

    // See https://github.com/vitejs/vite/discussions/14652
    esbuild: {
      loader: "jsx",
      include: /.*\.jsx?$/,
      exclude: [],
    },
    optimizeDeps: {
      esbuildOptions: {
        loader: {
          ".js": "jsx",
        },
      },
    },
Note the comment at the top. I had no idea how to come up with this config by checking the documentation pages of vite and its various related tools. Luckily I found the GitHub issue and someone else had come up with the right incantation.

Now this new vite uses new tools, and their documentation is still lacking. I spent half an hour trying to figure out how vite (and related tools that I had to navigate and try to piece a coherent view of: esbuild, oxc, rolldown, etc.) might be convinced, but gave up and stayed with vite 7.

Someone could respond with a working solution and it would help, sure, but these tools sure as hell have documentation issues.

spiros · 3 days ago
The solution here is working for me: https://github.com/vitejs/vite/discussions/21505

Though sometimes oxc complains about JSX in JS when running vite, but it still works fine.

spiros commented on Firefox adds support for customizable keyboard shortcuts   bugzilla.mozilla.org/show... · Posted by u/spiros
spiros · 4 months ago
Apparently requested since 2004, according to gHacks[1], but the oldest entry in Bugzilla I could find was from 2014[2]. However, that entry does reference a post from mozillaZine from 2004[3]. Though it's not really a request, but an addon that made it possible to change keyboard shortcuts back then.

1: https://www.ghacks.net/2025/11/17/firefox-is-adding-support-...

2: https://bugzilla.mozilla.org/show_bug.cgi?id=972662

3: https://forums.mozillazine.org/viewtopic.php?f=48&t=72994

olestr commented on Oracle justified its JavaScript trademark with Node.js–now it wants that ignored   deno.com/blog/deno-v-orac... · Posted by u/healsdata
29athrowaway · a year ago
Just call it ECMAScript and forget about "Java".

"JavaScript" was not a good choice of name to begin with. The original JavaScript did not have much in common with Java.

olestr · a year ago
LiveScript was, and still is, a much better name

u/spiros

KarmaCake day720October 6, 2022View Original