Skip to content

fix(@ngtools/webpack): improve bad component resource error message#19091

Merged
alan-agius4 merged 1 commit intoangular:masterfrom
clydin:improve-bad-template-resource-error
Oct 15, 2020
Merged

fix(@ngtools/webpack): improve bad component resource error message#19091
alan-agius4 merged 1 commit intoangular:masterfrom
clydin:improve-bad-template-resource-error

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented Oct 15, 2020

The error message for when a TypeScript or JavaScript file is incorrectly used as a style or template within a component will now also provide the name of the file being incorrectly used.

Partially addresses: #17728

@clydin clydin added the target: patch This PR is targeted for the next patch release label Oct 15, 2020
@clydin clydin requested a review from alan-agius4 October 15, 2020 16:31
@google-cla google-cla bot added the cla: yes label Oct 15, 2020
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Oct 15, 2020
The error message for when a TypeScript or JavaScript file is incorrectly used as a style or template within a component will now also provide the name of the file being incorrectly used.
@clydin clydin force-pushed the improve-bad-template-resource-error branch from 3e29806 to 9318aeb Compare October 15, 2020 16:59
@clydin clydin changed the title fix(@angular-devkit/build-angular): improve bad component resource error message fix(@ngtools/webpack): improve bad component resource error message Oct 15, 2020
@alan-agius4 alan-agius4 merged commit 4887f59 into angular:master Oct 15, 2020
@clydin clydin deleted the improve-bad-template-resource-error branch October 15, 2020 18:22
@angular-automatic-lock-bot
Copy link
Copy Markdown

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 Nov 15, 2020
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 target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants