So I downloaded the lodash source code. I noticed the it is written in Es6 syntax using import/export.
I also see lodash.js which is in the form of Immediately invoke function (IIFE). Everything is combined in one file after some sort of build process which converted ES6 modular code to IIFE.
Upon further research, it looks like that the lodash.js was generated using loadash cli.
Question: Does LoDash cli uses tools like babel to do the transformation or it has very specific custom logic to parse es6 files and output IIFE function which exposes "_" global object?