HACKER Q&A
📣 Justsignedup

It is 2023, how do you build your JavaScript?


There are quite a few different ways to build js out there, including using the tried and trusted Webpack.

Given that we have javascript + modern syntax, typescript, css, things like tailwind, packaging, compressing, react, etc... what is a build people use nowadays?

Just trying to put the feelers out because I feel like I am a couple of years out of date and would hate to just jump on new projects using tools the community is moving away from.


  👤 dtagames Accepted Answer ✓
Vite is great as a hot reload dev server and builder. I think it uses we pack under the hood but it's so seamless I never had to mess with that. I code and test with my full source but the build output is a single static index.html.

👤 breckenedge
Still lots of teams out there shipping with Webpack. If you’re already familiar with it and it works, use it. Picking up something new at this stage will just get in the way of shipping.

👤 victorbjorklund
Esbuild is really nice!