[web] Update wasm CLI details to be clear JavaScript is ALSO compiled (#147944)

At the moment, we ALWAYS compile JS with Wasm. The CLI flags should be clear on this!
This commit is contained in:
Kevin Moore
2024-05-08 18:33:26 -07:00
committed by GitHub
parent 00f40667c1
commit 4e81abe85f

View File

@@ -102,7 +102,7 @@ class BuildWebCommand extends BuildSubCommand {
argParser.addSeparator('WebAssembly compilation options');
argParser.addFlag(
FlutterOptions.kWebWasmFlag,
help: 'Compile to WebAssembly rather than JavaScript.\n$kWasmMoreInfo',
help: 'Compile to WebAssembly (with fallback to JavaScript).\n$kWasmMoreInfo',
negatable: false,
);
argParser.addFlag(