Source code of popular open-source projects explained with Codecrumbs
Learning source codeEach codebase has interesting tips, approaches, patterns and anti-patterns. This is the library of such case-studies based on examples from popular open-source projects.
Anyone can contribute.
Webpack architecture is heavily based on events (each plugin is basically a set of event listeners called during compilation). Under the hood, webpack uses a library called `tapable` to encapsulate "publish-subscribe" implementation.