Re:Reimagining front-end web development with htmx and hyper...
by RedShift1 on Saturday July 02, 2022 @12:30AM
(#31956250)
I once set out a simple goal, instead of shipping a production Node package with all the js files and node_modules, just have it all in one js file that can be executed by Node. After trying several compilers and messing with their settings, I ultimately failed exactly because of the different ways to import/export modules. My own code was all esm with .mjs files, but many npm libraries aren't so basically you're stuck.
[ Parent
| on HN ]
Re:Reimagining front-end web development with htmx and hyper...
by fragile_frogs on Saturday July 02, 2022 @04:48AM
(#31957341)