Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Mar 19, 2025

Compile time errors will now always be generated when an HTML template and/or CSS component stylesheet are not present on disk. The Angular compiler expects a return value of null from the resourceNameToFileName function to indicate that a resource path does not exist. JIT mode previously and continues to generate errors as expected.

Closes #29887

Compile time errors will now always be generated when an HTML template
and/or CSS component stylesheet are not present on disk. The Angular
compiler expects a return value of `null` from the `resourceNameToFileName`
function to indicate that a resource path does not exist. JIT mode previously
and continues to generate errors as expected.
@clydin clydin added the target: patch This PR is targeted for the next patch release label Mar 19, 2025
@clydin clydin requested a review from alan-agius4 March 19, 2025 15:49
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Mar 19, 2025
@clydin clydin merged commit cb2ab43 into angular:main Mar 19, 2025
33 checks passed
@clydin
Copy link
Member Author

clydin commented Mar 19, 2025

The changes were merged into the following branches: main, 19.2.x

@clydin clydin deleted the application/ensure-missing-component-errors branch March 19, 2025 16:29
@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 Apr 19, 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: @angular/build target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No compilation errors for non-existing css files referred in component's styleUrl/styleUrls

2 participants