diff --git a/packages/angular_devkit/build_angular/src/tools/esbuild/angular/compilation/parallel-compilation.ts b/packages/angular_devkit/build_angular/src/tools/esbuild/angular/compilation/parallel-compilation.ts index b23ed97d0fca..0da2a186956f 100644 --- a/packages/angular_devkit/build_angular/src/tools/esbuild/angular/compilation/parallel-compilation.ts +++ b/packages/angular_devkit/build_angular/src/tools/esbuild/angular/compilation/parallel-compilation.ts @@ -36,6 +36,9 @@ export class ParallelCompilation extends AngularCompilation { minThreads: 1, maxThreads: 1, idleTimeout: Infinity, + // Web containers do not support transferable objects with receiveOnMessagePort which + // is used when the Atomics based wait loop is enable. + useAtomics: !process.versions.webcontainer, filename: localRequire.resolve('./parallel-worker'), }); }