Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,11 @@ export const allowMinify = debugOptimize.minify;
const maxWorkersVariable = process.env['NG_BUILD_MAX_WORKERS'];
export const maxWorkers = isPresent(maxWorkersVariable) ? +maxWorkersVariable : 4;

// Default to enabled unless inside a Web Container which currently fails when transferring MessagePort objects
const parallelTsVariable = process.env['NG_BUILD_PARALLEL_TS'];
export const useParallelTs = !isPresent(parallelTsVariable) || !isDisabled(parallelTsVariable);
export const useParallelTs = isPresent(parallelTsVariable)
? !isDisabled(parallelTsVariable)
: !process.versions.webcontainer;

const legacySassVariable = process.env['NG_BUILD_LEGACY_SASS'];
export const useLegacySass: boolean = (() => {
Expand Down