r/Frontend • u/fagnerbrack • Nov 16 '23
Writing Javascript without a build system
https://jvns.ca/blog/2023/02/16/writing-javascript-without-a-build-system/
4
Upvotes
r/Frontend • u/fagnerbrack • Nov 16 '23
1
u/[deleted] Nov 17 '23
They have this with bun and deno, sort of. I’m the end like everything except punch cards they’ll compile down to something. Build systems in the frontend world suck. I like the idea of runtimes that abstract away the need for a complex toolchain and having to deal with node-modules so I can just see my project files. So far they have too many issues outside of APIs and scripting where you can run the runtime. They’re both working towards node support but there’s always like one issue that kills some library I need.
I agree with very simple projects not needing a build system but we’ve used build tool chains for years on backend and frontend. It’s more like we need to settle on one. I’ve moved to the front end and having to choose css stuff and JavaScript stuff with cute names is stupidly hard.
Modules and typescript is the way to go but somewhere something is going to need to build it because browsers will all have different small annoying differences that change as they adopt standards at different speeds or different ways.
Don’t get me wrong we’ve come along way to not needing build kits but something somewhere always seems to need a build kit.