MCPcopy
hub / github.com/webpack/webpack / createCompiler

Function createCompiler

test/MultiWatching.unittest.js:25–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 * @returns {MultiCompiler} compiler
24 */
25const createCompiler = () => {
26 const compiler = {
27 hooks: {
28 watchClose: new SyncHook([])
29 }
30 };
31 return /** @type {MultiCompiler} */ (compiler);
32};
33
34describe("MultiWatching", () => {
35 /** @type {Watching[]} */

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected