

CommonJS variant that doesn’t use modern features of JavaScript such as arrow functions.Adoption of ESMīefore browsers and Node.js got native support for ES modules, an npm package could contain several variants of source code: It’s both my hobby and job at Cube where we create and maintain open source tools for building data applications. This is a part of the series of posts on best practices where I’m sharing bits of my experience contributing to open source.

However, I rarely see developers transpiling the code of their dependencies because everything seems to work fine without it, right? Wrong! Here’s why. No doubt that you also use various dependencies to cut off the development time. If you’re a web developer, I’m sure that you use bundlers (e.g., Webpack, Rollup, or Parcel) which transpile the JavaScript code of your application with Babel under the hood.
