Omit service worker settings when service worker is disabled (#168192)
Omit the `serviceWorkerVersion` when the feature disabled, specifically when `--pwa-strategy none`
Showing
- packages/flutter_tools/lib/src/build_system/targets/web.dart 13 additions, 6 deletionspackages/flutter_tools/lib/src/build_system/targets/web.dart
- packages/flutter_tools/lib/src/isolated/devfs_web.dart 1 addition, 1 deletionpackages/flutter_tools/lib/src/isolated/devfs_web.dart
- packages/flutter_tools/lib/src/web/bootstrap.dart 11 additions, 7 deletionspackages/flutter_tools/lib/src/web/bootstrap.dart
- packages/flutter_tools/test/general.shard/build_system/targets/web_test.dart 35 additions, 0 deletions...ols/test/general.shard/build_system/targets/web_test.dart
Please register or sign in to comment