Function has_build_mode_flag
Source pub fn has_build_mode_flag(wasm_pack_args: &[String]) -> bool
Expand description
Checks whether wasm_pack_args already contains a build mode flag.
Returns true if any of --dev, --release, or --profiling
is present in the arguments list.
§Arguments
&[String] - The wasm-pack arguments to search.
§Returns
bool - Whether a build mode flag is already present.