MCPcopy
hub / github.com/webpack/webpack / createCompilation

Method createCompilation

lib/Compiler.js:1361–1364  ·  view source on GitHub ↗

* Creates a compilation. * @param {CompilationParams} params the compilation parameters * @returns {Compilation} compilation

(params)

Source from the content-addressed store, hash-verified

1359 * @returns {Compilation} compilation
1360 */
1361 createCompilation(params) {
1362 this._cleanupLastCompilation();
1363 return (this._lastCompilation = new Compilation(this, params));
1364 }
1365
1366 /**
1367 * Returns the created compilation.

Callers 2

newCompilationMethod · 0.95
createCompilationFunction · 0.80

Calls 1

Tested by

no test coverage detected