Skip to content

Commit 372330d

Browse files
eyebrowsoffireloic-sharma
authored andcommitted
Update documentation to use --local-web-sdk flags. (flutter#38328)
1 parent b917bc8 commit 372330d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/web_ui/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ get help for a specific subcommand, run `felt help SUBCOMMAND`.
2525
The most useful subcommands are:
2626

2727
- `felt build` - builds a local Flutter Web engine ready to be used by the
28-
Flutter framework. To use the local engine build, build with
29-
`felt build --host`, then pass `--local-engine=host_debug_unopt` to the
30-
`flutter` command, or to `dev/bots/test.dart` when running a web shard, such
31-
as `web_tests`.
28+
Flutter framework. To use a locally built web sdk, build with `felt build`,
29+
then pass `--local-web-sdk=wasm_release` to the `flutter` command, or to
30+
`dev/bots/test.dart` when running a web shard, such as `web_tests`.
3231
- `felt test` - runs web engine tests. By default, this runs all tests using
3332
Chromium. Passing one or more paths to specific tests would run just the
3433
specified tests. Run `felt help test` for more options.
@@ -44,7 +43,7 @@ Builds the web engine, the runs a Flutter app using it:
4443
```
4544
felt build
4645
cd path/to/some/app
47-
flutter --local-engine=host_debug_unopt run -d chrome
46+
flutter --local-web-sdk=wasm_release run -d chrome
4847
```
4948

5049
Runs all tests in Chromium:

0 commit comments

Comments
 (0)