MCPcopy Create free account
hub / github.com/webpack/webpack-cli / isMultipleCompiler

Method isMultipleCompiler

packages/webpack-cli/src/webpack-cli.ts:1268–1270  ·  view source on GitHub ↗
(compiler: Compiler | MultiCompiler)

Source from the content-addressed store, hash-verified

1266 }
1267
1268 isMultipleCompiler(compiler: Compiler | MultiCompiler): compiler is MultiCompiler {
1269 return (compiler as MultiCompiler).compilers as unknown as boolean;
1270 }
1271
1272 isValidationError(error: unknown): error is WebpackError {
1273 return (error as Error).name === "ValidationError";

Callers 4

WebpackCLIClass · 0.95
#needWatchStdinMethod · 0.95
callbackMethod · 0.95
needGracefulShutdownMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected