Hacker News new | ask | show | jobs
by postalrat 1089 days ago
Is CommonJS even a thing for javascript running in web browsers? Moving from CommonJS to modules shouldn't affect any running in a browser.
1 comments

Sure it is. I've used it via require.js. There were other ways too.
Using require.js is your choice. CommonJS often isn't a choice.