On this page

class webpack.ConstDependencyTemplate extends NullDependencyTemplate
new ConstDependencyTemplate(): ConstDependencyTemplate
apply(dependency, source, templateContext): void
Attributes
dependency:Dependency
Returns:void

Applies the plugin by registering its hooks on the compiler.