r/javascript • u/StraightZlat • Dec 09 '22
Vite 4.0 Officially Released!
https://vitejs.dev/blog/announcing-vite4.html39
Dec 09 '22
Big fan of Vite. Excited to see what was released and where it’s headed
11
u/eternaloctober Dec 09 '22
promising note at the end about the full time hiring of patak_dev and others...good look
13
u/acraswell Dec 10 '22
Out of curiosity I bumped the version in our project from 3 to 4, and bumped the plugins used. No errors and everything is running as expected, niiiice!
17
u/DestroyerYou Dec 09 '22
That's cool and all, but can anyone name all the technologies listed in the 1st image on homepage
30
u/danielovida Dec 09 '22 edited Dec 10 '22
Vite, Rollup, Esbuild, Babel, Typescript, PostCSS, SWC, Node.js, Deno, Bun
Vue, Svelte, React, Preact, Lit, Solid, Marko, Angular, SvelteKit, Astro
Qwik, UnJS, Nuxt, analog.js, Vitepress, Vitest, Pnpm, Tauri, Eleventy, StackBlitz
PWA, Playwright, Cypress, Storybook, Vite Ruby, Laravel, Fastify, Cloudflare Worker, vite-plugin-ssr, Histoire
Nx, rakkas, Vue 3.0 "One Piece", Preview, iles, Elm, Ladle, ?, Slidev, Whyframe
//edit: added more missing projects, thanks to:
u/valtism - Preview
u/thecementmixer - Vue
u/yxonic - vite-plugin-ssr
u/IamLUG - analog.js, Whyframe10
5
5
2
1
u/IamLUG Dec 10 '22
For the 4 ?, there are Analogjs, vite-plugin-ssr, (I can’t remember), and Whyframe.
5
u/chlorocodes Dec 10 '22
Man I used to be so up to date with all the latest js stuff haha I only knew like half of these
1
u/DestroyerYou Dec 10 '22
Yea same xd. I swear if it was 2 years ago I could've named like 85% atleast
1
2
Dec 12 '22
My honest attempt:
vite, rollup, esbuild, babel, typescript, unknown, swc, node, deno, bun
vue, svelte, react, preact, unknown, solid, marko, angular, unknown, astro
unknown, unjs, nuxt, unknown, vuepress, unknown, pnpm, unknown, eleventy, unknown
unknown, playwrite, cypress, unknown, unknown, laravel, unknown, unknown, unknown, unknown
unknown, unknown, vue (v3), unknown, iles, elm, unknown, unknown, unknown, unknown
Subtotals:
9/10
8/10
5/10
3/10
3/10
Total: 28/50 = 56%
15
Dec 10 '22
Can someone explain why all of the project template tools - Vite included - insist on having a default page full of text and logos? Like I don't get why they wouldn't just give you a generally blank template, instead of me having to go into the assets and public folder to delete random image files and CSS files that I don't want.
35
u/morally_sound Dec 10 '22 edited Dec 10 '22
When I was new to react and I was learning it, I really appreciated the default page and the default files. It gave me a great starting point to start modifying and testing how react worked.
It is useful for new comers. Maybe that is the reason?
5
u/pimp-bangin Dec 10 '22
They should really offer a "minimal" option in the prompt when running "npm create" for those who are no longer beginners and want to save a minute or two.
8
3
3
1
1
1
Dec 11 '22
Definitely gonna give this a try soon. I love Vite and it has greatly improved our workflow. I will try to update to v4 and hopefully it will resolve a couple of bugs we had (local vite deps caching).
7
u/Nullberri Dec 09 '22 edited Dec 16 '22
Looks like Vite4 broke vite-tsconfig-paths. =/ edit: Fixed in V 4.0.3 =D