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

Method #status

packages/webpack-cli/src/webpack-cli.ts:1831–1838  ·  view source on GitHub ↗

Prints a status message with an icon; errors go to stderr, the rest to stdout.

(kind: StatusKind, message: string)

Source from the content-addressed store, hash-verified

1829
1830 /** Prints a status message with an icon; errors go to stderr, the rest to stdout. */
1831 #status(kind: StatusKind, message: string): void {
1832 if (kind === "error") {
1833 process.stderr.write(`${this.#uiStatusLine(kind, message)}\n`);
1834 return;
1835 }
1836
1837 this.logger.raw(this.#uiStatusLine(kind, message));
1838 }
1839
1840 async #getInfoOutput(options: {
1841 output?: string;

Callers 1

WebpackCLIClass · 0.95

Calls 1

#uiStatusLineMethod · 0.95

Tested by

no test coverage detected