(module, callback)
| 5893 | * @returns {void} |
| 5894 | */ |
| 5895 | const codeGen = (module, callback) => { |
| 5896 | this._codeGenerationModule( |
| 5897 | module, |
| 5898 | runtime, |
| 5899 | [runtime], |
| 5900 | chunkGraph.getModuleHash(module, runtime), |
| 5901 | this.dependencyTemplates, |
| 5902 | chunkGraph, |
| 5903 | this.moduleGraph, |
| 5904 | runtimeTemplate, |
| 5905 | errors, |
| 5906 | codeGenerationResults, |
| 5907 | (err, _codeGenerated) => { |
| 5908 | callback(err); |
| 5909 | } |
| 5910 | ); |
| 5911 | }; |
| 5912 | |
| 5913 | const reportErrors = () => { |
| 5914 | if (errors.length > 0) { |
nothing calls this directly
no test coverage detected