* Returns the created compilation. * @param {CompilationParams} params the compilation parameters * @returns {Compilation} the created compilation
(params)
| 1369 | * @returns {Compilation} the created compilation |
| 1370 | */ |
| 1371 | newCompilation(params) { |
| 1372 | const compilation = this.createCompilation(params); |
| 1373 | compilation.name = this.name; |
| 1374 | compilation.records = this.records; |
| 1375 | this.hooks.thisCompilation.call(compilation, params); |
| 1376 | this.hooks.compilation.call(compilation, params); |
| 1377 | return compilation; |
| 1378 | } |
| 1379 | |
| 1380 | createNormalModuleFactory() { |
| 1381 | this._cleanupLastNormalModuleFactory(); |
no test coverage detected