Although the implementation has nothing in common, it makes me think a lot of PHP autoloading…
Frédéric G. MARAND

It’s not really the same thing — autoloading is about allowing the engine to find a class definition (i.e. the location of the file on disk) when it hasn’t been explicitly imported. Rollup (like any JavaScript module bundler) expects you to explicitly declare your imports (though it is possible to declare them implicitly via a plugin, if not recommended), and the point of tree-shaking is to ignore code in imported modules if it’s not necessary for your program to run.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.