| | |
| | | |
| | | class ImportWeakDependency extends ImportDependency { |
| | | /** |
| | | * Creates an instance of ImportWeakDependency. |
| | | * @param {string} request the request |
| | | * @param {Range} range expression range |
| | | * @param {RawReferencedExports | null} referencedExports list of referenced exports |
| | |
| | | ImportDependency.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 |