We (Laravel) have just switched the frontend tooling from Laravel Mix (a webpack wrapper) for Vite. https://laravel.com/docs/9.x/vite#main-content The speed gains are super impressive from Vite.
Vite – Next Generation Front End Tooling
21–30 of 383 posts
Re: Vite – Next Generation Front End Tooling
#22The constant iteration and revolution of basic front-end web dev makes me happy to be a mobile dev.
You're being downvoted but it's wild how frontend frameworks pop up, take hold, and then quietly disappear with the next iteration of the same thing with different syntactic sugar.
Re: Vite – Next Generation Front End Tooling
#23The constant iteration and revolution of basic front-end web dev makes me happy to be a mobile dev.
You're being downvoted but it's wild how frontend frameworks pop up, take hold, and then quietly disappear with the next iteration of the same thing with different syntactic sugar.
Re: Vite – Next Generation Front End Tooling
#24Definitely the build tool I reach for by default now
Re: Vite – Next Generation Front End Tooling
#25I'm a happy vite user, but it troubles me when I think about how complicated everything it abstracts has become. It uses rollup for some things, esbuild for others, workbox for my service worker... I switched from webpack to it, and while my config is certainly less complex, I at least could tell you what webpack is doing. Vite is magic. Can I just use esbuild yet?
It does seem like magic sometimes, but the the code is relatively straightforward. It's not too complicated to dig into to the internals if you're curious about how specific configuration works under the hood. With Webpack I never really felt that way, but maybe it's some kind of subconscious bias from struggling so often with massive configs.
Re: Vite – Next Generation Front End Tooling
#26The constant iteration and revolution of basic front-end web dev makes me happy to be a mobile dev.
You're being downvoted but it's wild how frontend frameworks pop up, take hold, and then quietly disappear with the next iteration of the same thing with different syntactic sugar.
Re: Vite – Next Generation Front End Tooling
#27The constant iteration and revolution of basic front-end web dev makes me happy to be a mobile dev.
Maybe plastering a power strip into a wall rather than doing proper electrical work is a better metaphor. Everybody knows it’s a bad idea, but someone made a thing that automatically provisions and deploys new strips, and someone made a thing that plugs stuff in, and someone made a thing that mixes and applies plaster which was replaced by a drywall thing but we still call it plaster, and someone else made a thing that does it in 10 rooms at once…
That said, this seems like a bigger step towards simplifying both the development process AND the toolchain. It only works in newer browsers so it doesn't immediately work for all use cases, but it's good enough for some. We're quickly approaching the point where browser-native implementations of more recent, better designed scripting features are widespread enough to rely on. That should both simplify and stabilize front-end web development for quite some time.
Re: Vite – Next Generation Front End Tooling
#28Re: Vite – Next Generation Front End Tooling
#29The constant iteration and revolution of basic front-end web dev makes me happy to be a mobile dev.
You're being downvoted but it's wild how frontend frameworks pop up, take hold, and then quietly disappear with the next iteration of the same thing with different syntactic sugar.
Re: Vite – Next Generation Front End Tooling
#30I think sveltekit[1] uses this :-) 1: https://kit.svelte.dev/
npm create vite@latest my-app -- --template svelte-ts