From 407f0a4d560b165c98334855295fd916c7e93253 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Wed, 12 Feb 2025 20:31:51 -0600 Subject: [PATCH] Build all of the samples with wasm (#2584) --- web/_tool/build_ci.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/_tool/build_ci.dart b/web/_tool/build_ci.dart index 28cea420c..967114849 100644 --- a/web/_tool/build_ci.dart +++ b/web/_tool/build_ci.dart @@ -3,7 +3,9 @@ // found in the LICENSE file import 'dart:io'; + import 'package:path/path.dart' as p; + import 'common.dart'; import 'fix_base_tags.dart'; @@ -53,7 +55,7 @@ void main() async { // Build the sample and copy the files await _run(directory, 'flutter', ['pub', 'get']); - await _run(directory, 'flutter', ['build', 'web']); + await _run(directory, 'flutter', ['build', 'web', '--wasm']); await _run(directory, 'mv', [sourceBuildDir, targetDirectory]); }