(compiler, warning)
| 156 | * @param {WebpackError} warning warning |
| 157 | */ |
| 158 | const addWarning = (compiler, warning) => { |
| 159 | compiler.hooks.thisCompilation.tap(CLASS_NAME, (compilation) => { |
| 160 | compilation.warnings.push(warning); |
| 161 | }); |
| 162 | }; |
| 163 | /** @type {Set<string>} */ |
| 164 | const cacheNames = new Set(); |
| 165 | for (const compiler of this.compilers) { |