Hacker News new | ask | show | jobs
by aurelianito 1684 days ago
Both CommonJS and ES6 modules suck. The way things should have been is requirejs. Modules are defined and loading using an API instead of having reserved words. It's really sad what happened to modules in JavaScript.