Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Apr 9, 2025

The Angular compiler does not directly support the composite option within a referenced tsconfig file. If this option is enabled, the Angular compiler will crash due to the Angular compiler not leveraging the TypeScript BuilderProgram infrastructure. Since the Angular compiler is not aware of composite projects nor project references, the composite option is disabled when options are passed to the Angular compiler. This has no effect on non- Angular related usages of the tsconfig.

…ar compiler

The Angular compiler does not directly support the `composite` option within
a referenced `tsconfig` file. If this option is enabled, the Angular compiler
will crash due to the Angular compiler not leveraging the TypeScript
BuilderProgram infrastructure. Since the Angular compiler is not aware of
composite projects nor project references, the `composite` option is disabled
when options are passed to the Angular compiler. This has no effect on non-
Angular related usages of the `tsconfig`.
@clydin clydin added the target: major This PR is targeted for the next major release label Apr 9, 2025
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label Apr 9, 2025
@clydin clydin merged commit 427bd84 into angular:main Apr 9, 2025
56 of 57 checks passed
@clydin clydin deleted the ngtools/composite-tsconfig branch April 9, 2025 17:49
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @ngtools/webpack target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants