Re:Writing JavaScript without a build system
by adparadox on Thursday February 16, 2023 @07:18PM
(#34828790)
I'm in the same camp and never want to run a build process for JavaScript ever again. I've been slowly improving https://dlitejs.com/ which is a minimal (5kB minified + gzipped) JavaScript framework which works great loaded from unpkg. It's pretty crazy to see how lean a framework can be nowadays (even with two-way binding, directives, and event binding) when leveraging newer standards like Web Components and the Shadow DOM.
[ Parent
| on HN ]
Re:Writing JavaScript without a build system
by eurasiantiger on Thursday February 16, 2023 @07:23PM
(#34828848)
Web Components suck, Custom Elements is where it’s at ;)
Just leave out the attachShadow.