diff --git a/packages/devtools_extensions/CHANGELOG.md b/packages/devtools_extensions/CHANGELOG.md index 5123faeaeb9..dd4359a4d11 100644 --- a/packages/devtools_extensions/CHANGELOG.md +++ b/packages/devtools_extensions/CHANGELOG.md @@ -8,6 +8,7 @@ found in the LICENSE file or at https://developers.google.com/open-source/licens * The minimum Flutter SDK version is bumped to 3.41.0. * Updates `devtools_shared` constraint to `^14.0.1`. * Add validation for `pubspec.yaml` existence and valid characters in the `config.yaml` `name` field to the `validate` command. +* Remove the deprecated `--pwa-strategy` flag from the `build_and_copy` command. ## 0.5.1 * Updates `devtools_app_shared` constraint to `^0.5.1`. diff --git a/packages/devtools_extensions/bin/_build_and_copy.dart b/packages/devtools_extensions/bin/_build_and_copy.dart index 5fa0a58ea9b..9a28f0b9c45 100644 --- a/packages/devtools_extensions/bin/_build_and_copy.dart +++ b/packages/devtools_extensions/bin/_build_and_copy.dart @@ -59,13 +59,7 @@ class BuildExtensionCommand extends Command { await _runProcess( processManager, Platform.isWindows ? 'flutter.bat' : 'flutter', - [ - 'build', - 'web', - '--pwa-strategy=offline-first', - '--release', - '--no-tree-shake-icons', - ], + ['build', 'web', '--release', '--no-tree-shake-icons'], workingDirectory: source, );