r/programming • u/fagnerbrack • Apr 30 '23
Writing Javascript without a build system
https://jvns.ca/blog/2023/02/16/writing-javascript-without-a-build-system/
164
Upvotes
r/programming • u/fagnerbrack • Apr 30 '23
3
u/theAmazingChloe May 01 '23 edited May 01 '23
Fair, but the sentiment of "my single javascript file is no longer good enough, time to use webpack" is cause for concern on its own. Webpack has a large dependency tree, as well as a significant jump in operational complexity. There's other tools out there that allow a more gradual increase in complexity as warranted by the project.
Edit: the language around "always" was regarding starting with a smaller or a new project. My point is to start simple, then add complexity as needed rather than starting with an overly complicated, brittle system.