Skip to content

Commit 407f0a4

Browse files
authored
Build all of the samples with wasm (#2584)
1 parent bfe14d0 commit 407f0a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web/_tool/build_ci.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
// found in the LICENSE file
44

55
import 'dart:io';
6+
67
import 'package:path/path.dart' as p;
8+
79
import 'common.dart';
810
import 'fix_base_tags.dart';
911

@@ -53,7 +55,7 @@ void main() async {
5355

5456
// Build the sample and copy the files
5557
await _run(directory, 'flutter', ['pub', 'get']);
56-
await _run(directory, 'flutter', ['build', 'web']);
58+
await _run(directory, 'flutter', ['build', 'web', '--wasm']);
5759
await _run(directory, 'mv', [sourceBuildDir, targetDirectory]);
5860
}
5961

0 commit comments

Comments
 (0)