Duct tape and glue and no wonder it breaks.
But the "Runs Anywhere™" feature of browser programs makes this whole Rube Goldberg survive. So long as you make sure you code can be interpreted anywhere, it will be, so that's what people do.
Remember when people used to like Webpack or prefer Browserify or Rollup or Parcel and then Vite? None of these preferences matter anymore. There is no way to manually configure a JavaScript project from scratch, the only way to get things working is by using boilerplates with dozens of configs and bloated files no one understands and if you edit a single line of them then everything stops working and for reasons that are completely unintelligible and seemingly unrelated to your change. But I guess that effect is not a new thing -- maybe it's the fate of all programming languages that get too popular? nostr:nevent1qqs84dl0j0du5ujrlyh9f4scgjjn7qzk0wvykehqzaecp6uywm9h5eqprfmhxue69uhhyetvv9ujuam9wd6x2unwvf6xxtnrdaksyg8yvswsamt36tgvpa5v6dgg658umvv4ftquek3xnhdm0fuf0s3xzsd7crdj
Duct tape and glue and no wonder it breaks.
But the "Runs Anywhere™" feature of browser programs makes this whole Rube Goldberg survive. So long as you make sure you code can be interpreted anywhere, it will be, so that's what people do.