[web:tools] always use CanvasKit from the cache when building web apps (#93002)

This commit is contained in:
Yegor
2021-11-03 17:48:25 -07:00
committed by GitHub
parent 6cd39cce1d
commit 773789344e
4 changed files with 19 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ Future<void> buildWeb(
final Status status = globals.logger.startProgress('Compiling $target for the Web...');
final Stopwatch sw = Stopwatch()..start();
try {
final BuildResult result = await globals.buildSystem.build(WebServiceWorker(globals.fs), Environment(
final BuildResult result = await globals.buildSystem.build(WebServiceWorker(globals.fs, globals.cache), Environment(
projectDir: globals.fs.currentDirectory,
outputDir: outputDirectory,
buildDir: flutterProject.directory