class webpack.ConstDependencyTemplate extends NullDependencyTemplate
new ConstDependencyTemplate(): ConstDependencyTemplate
Returns:
ConstDependencyTemplateapply(dependency, source, templateContext): void
Attributes
Applies the plugin by registering its hooks on the compiler.