Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: It is 2023, how do you build your JavaScript?
1 point by Justsignedup on March 16, 2023 | hide | past | favorite | 3 comments
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.



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.


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.


Esbuild is really nice!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: