Skip to content

Commit 212939d

Browse files
committed
Revert "refactor: disable esbuild worker threads"
This reverts commit 47a1ccc.
1 parent b3cc790 commit 212939d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/angular_devkit/build_angular/src/webpack/plugins/javascript-optimizer-plugin.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,6 @@ export class JavaScriptOptimizerPlugin {
168168
const workerPool = new Piscina({
169169
filename: workerPath,
170170
maxThreads: MAX_OPTIMIZE_WORKERS,
171-
env: {
172-
...process.env,
173-
// Workaround for `TypeError [Error]: Cannot read property 'workerPort' of undefined`
174-
// See: https://github.com/evanw/esbuild/commit/aa8b9ce8d462378f0f06ac52e83f6c32332dde38
175-
ESBUILD_WORKER_THREADS: '0',
176-
},
177171
});
178172

179173
// Enqueue script optimization tasks and update compilation assets as the tasks complete

0 commit comments

Comments
 (0)