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

Interface KnownWebpackCLICommands

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

Source from the content-addressed store, hash-verified

146}
147
148interface KnownWebpackCLICommands {
149 build: CommandOptions<string[], CommanderArgs, WebpackContext & Context>;
150 serve: CommandOptions<
151 string[],
152 CommanderArgs,
153 WebpackContext & WebpackDevServerContext & Context
154 >;
155 watch: CommandOptions<string[], CommanderArgs, WebpackContext & Context>;
156 version: CommandOptions<void, CommanderArgs, Context>;
157 help: CommandOptions<void, CommanderArgs, Context>;
158 info: CommandOptions<void, CommanderArgs, Context>;
159 configtest: CommandOptions<string | undefined, CommanderArgs, WebpackContext & Context>;
160}
161
162// eslint-disable-next-line @typescript-eslint/no-explicit-any
163type CommanderArgs = Record<string, any>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected