Skip to content

Commit

Permalink
[web] Update wasm CLI details to be clear JavaScript is ALSO compiled (
Browse files Browse the repository at this point in the history
…#147944)

At the moment, we ALWAYS compile JS with Wasm. The CLI flags should be clear on this!
  • Loading branch information
kevmoo committed May 9, 2024
1 parent 00f4066 commit 4e81abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter_tools/lib/src/commands/build_web.dart
Expand Up @@ -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(
Expand Down

0 comments on commit 4e81abe

Please sign in to comment.