make sure profile is forwarded through build web command (#39414)
diff --git a/packages/flutter_tools/lib/src/web/compile.dart b/packages/flutter_tools/lib/src/web/compile.dart
index d241998..94bd2ac 100644
--- a/packages/flutter_tools/lib/src/web/compile.dart
+++ b/packages/flutter_tools/lib/src/web/compile.dart
@@ -30,7 +30,7 @@
try {
result = await webCompilationProxy.initialize(
projectDirectory: FlutterProject.current().directory,
- release: buildInfo.isRelease,
+ mode: buildInfo.mode,
);
if (result) {
// Places assets adjacent to the web stuff.
@@ -81,7 +81,7 @@
Future<bool> initialize({
@required Directory projectDirectory,
String testOutputDir,
- bool release,
+ BuildMode mode,
}) async {
throw UnimplementedError();
}