Mozilla figured out how to put JS to serious use before `npm install`* was ever a thing. Of the hundreds of thousands of lines of JS powering Firefox (at least up until I called it quits on my hope that Mozilla would stay out of the gutter ~10 years ago)—mostly just a bunch of script elements and pre-ES6 JSM `import` statements. Very little "build" work in sight.
@edsu you now have permission to respond with "STFU" to any insolent jabberwocky insisting that you have to follow what the NodeJS/NPM community's deems to be best practices.
JS and its history of use for programming in the large (let's call it "industrial" use) is so much bigger (and better) than whatever kooky nonsense the NPMers have convinced themselves is essential/irreducible complexity.
Around the time that I wrote "How to displace JS" <https://www.colbyrussell.com/2019/03/06/how-to-displace-javascript.html>, I checked the then-latest README for instructions about doing a hello-world program using create-react-app. It was fuckin' 500 fuckin' megabytes *just* to be able to do a successful `npx create-react-app` and `npm start` and show the word "hello". Nuts!