Function build_mode_to_flag
Source pub fn build_mode_to_flag(build_mode: BuildMode) -> &'static str
Expand description
Converts a BuildMode to the corresponding wasm-pack flag string.
§Arguments
BuildMode - The build mode to convert.
§Returns
&'static str - The wasm-pack command-line flag.