Use FlutterFeatures to configure web and desktop devices (#36465)

This commit is contained in:
Jonah Williams
2019-07-21 18:21:15 -07:00
committed by GitHub
parent bffbad5c8a
commit bd52a78c71
37 changed files with 505 additions and 371 deletions

View File

@@ -289,6 +289,9 @@ Future<void> _flutterBuildDart2js(String relativePathToApplication) async {
workingDirectory: path.join(flutterRoot, relativePathToApplication),
expectNonZeroExit: false,
timeout: _kShortTimeout,
environment: <String, String>{
'FLUTTER_WEB': 'true',
}
);
print('Done.');
}