Skip to content

build(bazel): remove workaround no longer needed for module names for ngfactory & ngsummary files - #25604

Closed
gregmagolan wants to merge 1 commit into
angular:masterfrom
gregmagolan:revert-amd-module-name-for-ngfactory
Closed

gregmagolan wants to merge 1 commit into
angular:masterfrom
gregmagolan:revert-amd-module-name-for-ngfactory

Conversation

@gregmagolan

Copy link
Copy Markdown
Contributor

Resolves angular/angular-cli#11835.

The underlying issue in the compiler that required this workaround to give ngfactory & ngsummary files proper AMD names has been resolved so it is no longer needed.

@gregmagolan
gregmagolan requested a review from alexeagle August 21, 2018 21:11
@gregmagolan gregmagolan added the target: patch This PR is targeted for the next patch release label Aug 21, 2018
@mary-poppins

Copy link
Copy Markdown

@gregmagolan
gregmagolan requested a review from alxhub August 21, 2018 22:48
@gregmagolan

Copy link
Copy Markdown
Contributor Author

For reference: the workaround was added in #25335

@alxhub alxhub left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks good to me!

The only thing I would ask is that you please add a commit description which details exactly what the workaround was for, and what changed which caused it to no longer be necessary. I'd be happy to approve this PR with that minor change :)

… ngfactory & ngsummary files

Workaround was added in #25335. It was necessary for .ngfactory & .ngsummary files to have proper AMD module names starting with @angular when building angular downstream from source using Bazel. The underlying issue has been resolved in the compiler and these files now get proper AMD module names without the need for this workaround. The workaround had an unexpected consequence angular/angular-cli#11835 which is fixed by its removal.
@mary-poppins

Copy link
Copy Markdown

@alexeagle alexeagle added the action: merge The PR is ready for merge by the caretaker label Aug 22, 2018
matsko pushed a commit that referenced this pull request Aug 23, 2018
… ngfactory & ngsummary files (#25604)

Workaround was added in #25335. It was necessary for .ngfactory & .ngsummary files to have proper AMD module names starting with @angular when building angular downstream from source using Bazel. The underlying issue has been resolved in the compiler and these files now get proper AMD module names without the need for this workaround. The workaround had an unexpected consequence angular/angular-cli#11835 which is fixed by its removal.

PR Close #25604
@matsko matsko closed this in 22d58fc Aug 23, 2018
@StephenFluin

Copy link
Copy Markdown
Contributor

@alexeagle I think you said we also need another test for this

@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 Sep 13, 2019
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 cla: yes target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ng serve --aot fail after file change

6 participants