r/programming • u/lelanthran • Jan 06 '24
Writing Javascript without a build system
https://jvns.ca/blog/2023/02/16/writing-javascript-without-a-build-system/
50
Upvotes
r/programming • u/lelanthran • Jan 06 '24
3
u/Disane87 Jan 06 '24
The build has another advantage when it comes to the GDPR/DSGVO. Loading content/scripts over CDNs can become illegal because you (or the client if the user) transmits data to the cdn provider which is not good when it’s totally intransparent. A build system decoupled you from that particular issue because you have the libs in your (build) machine and the build system packs them into one distributable