On this page

new DependencyTemplate(): DependencyTemplate
apply(dependency, source, templateContext): void
Attributes
dependency:<Dependency>
Returns:<void>

Applies the plugin by registering its hooks on the compiler.