News for hackers. Stuff that matters.
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.
Re:Reimagining front-end web development with htmx and hyper... by fragile_frogs on Saturday July 02, 2022 @04:48AM (#31957341)
Re:Reimagining front-end web development with htmx and hyper... by RedShift1 on Saturday July 02, 2022 @05:04AM (#31957406)
Tried that one too, failed me as well and I recall correctly due to a different reason. However I see there have been new releases, maybe it's time to try again.