We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04aea26 commit ac85e2cCopy full SHA for ac85e2c
web/_tool/fix_base_tags.dart
@@ -1,4 +1,5 @@
1
import 'dart:io';
2
+
3
import 'package:path/path.dart' as p;
4
5
Future<void> main() async {
@@ -47,6 +48,15 @@ Future<void> fixBaseTags() async {
47
48
);
49
await index.writeAsString(newContents);
50
}
51
52
+ // Since all of the web examples use the hosted canvaskit bits
53
+ // There is no need to deploy these
54
+ final canvasKitDirectory = Directory(
55
+ p.join(builtSample.path, 'canvaskit'),
56
+ );
57
+ if (canvasKitDirectory.existsSync()) {
58
+ canvasKitDirectory.deleteSync(recursive: true);
59
+ }
60
61
62
0 commit comments