| | |
| | | |
| | | class WebpackIsIncludedDependency extends ModuleDependency { |
| | | /** |
| | | * Creates an instance of WebpackIsIncludedDependency. |
| | | * @param {string} request the request string |
| | | * @param {Range} range location in source code |
| | | */ |
| | |
| | | ModuleDependency.Template |
| | | ) { |
| | | /** |
| | | * Applies the plugin by registering its hooks on the compiler. |
| | | * @param {Dependency} dependency the dependency for which the template should be applied |
| | | * @param {ReplaceSource} source the current replace source which can be modified |
| | | * @param {DependencyTemplateContext} templateContext the context object |