A practice version of the minipack
module bundler, for researching module bundlers.
Original repository link: https://github.com/ronami/minipack
Tutorial: https://www.youtube.com/watch?v=Gc9-7PBqOC8
Clone the repository and run node bundler.js
in the project root directory.
It will console log the resulting bundled code. Copy and paste the bundled code in a browser console to see the message that is being console logged in the entry.js
file.
Edit/modify application code in /src
directory to understand the changes.
Or inspect the code in bundler.js
in the project root directory for a better understanding of module bundlers.