diff --git a/packages/angular_devkit/build_angular/src/tools/esbuild/angular/compiler-plugin.ts b/packages/angular_devkit/build_angular/src/tools/esbuild/angular/compiler-plugin.ts index b9dadb69550c..9ddc95f7d114 100644 --- a/packages/angular_devkit/build_angular/src/tools/esbuild/angular/compiler-plugin.ts +++ b/packages/angular_devkit/build_angular/src/tools/esbuild/angular/compiler-plugin.ts @@ -264,6 +264,7 @@ export function createCompilerPlugin( if (compilation instanceof NoopCompilation) { await sharedTSCompilationState.waitUntilReady; + hasCompilationErrors = false; return result; }