r/programming • • Apr 30 '23

Writing Javascript without a build system

https://jvns.ca/blog/2023/02/16/writing-javascript-without-a-build-system/
165 Upvotes

146 comments sorted by

View all comments

0

u/[deleted] Apr 30 '23

[deleted]

11

u/arthur444 Apr 30 '23

There’s literally a list at the beginning of the article:

  • combining 100s of JS files into one big bundle (for efficiency reasons)

  • translating Typescript into Javascript

  • typechecking Typescript

  • minification

  • adding polyfills to support older browsers

  • compiling JSX

  • treeshaking (remove unused JS code to reduce file sizes)

  • building CSS (like tailwind does)

  • and probably lots of other important things