Malte Ubl
Malte Ubl
Apr 22, 2018 · 1 min read

It is a build-time behavior. It does exactly what I described. It makes things behave as if the enhanced file imported the enhancing file. Nothing else.

You would then usually use it together with the registry pattern, a dependency injection system, or plugin system.

    Malte Ubl

    Written by

    Malte Ubl

    Tech lead of the AMP Project. JavaScript infrastructure at Google. Curator of @JSConfEU