Skip to content

Conversation

alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Jun 13, 2019

fix(@ngtools/webpack): NGCC workspace libraries module resolution

Fixes #14594

petebacondarwin added a commit to petebacondarwin/angular that referenced this pull request Jun 13, 2019
The `EntryPointFinder` computes the base paths to consider
when searching for entry-points. When there are `pathMappings`
provided it works out the best top level base-paths that cover all
the potential mappings.

If this computed basePath happens to coincide with an entry-point
path itself then we were missing it.

Now we check for an entry-point even at the base-path itself.

Related to angular/angular-cli#14755
AndrewKushnir pushed a commit to angular/angular that referenced this pull request Jun 14, 2019
#31027)

The `EntryPointFinder` computes the base paths to consider
when searching for entry-points. When there are `pathMappings`
provided it works out the best top level base-paths that cover all
the potential mappings.

If this computed basePath happens to coincide with an entry-point
path itself then we were missing it.

Now we check for an entry-point even at the base-path itself.

Related to angular/angular-cli#14755

PR Close #31027
@alan-agius4 alan-agius4 added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews PR state: blocked and removed state: blocked labels Jun 17, 2019
@alan-agius4 alan-agius4 changed the title test: enable e2e library consumption test for ivy fix(@ngtools/webpack): NGCC workspace libraries module resolution Jun 19, 2019
@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews state: WIP PR state: blocked labels Jun 19, 2019
@alan-agius4 alan-agius4 requested a review from filipesilva June 19, 2019 18:46
@alan-agius4 alan-agius4 added target: major This PR is targeted for the next major release and removed target: patch This PR is targeted for the next patch release labels Jun 19, 2019
@clydin clydin removed the request for review from filipesilva June 20, 2019 17:55
@mgechev mgechev merged commit a1402d9 into angular:master Jun 20, 2019
@alan-agius4 alan-agius4 deleted the library-consumption branch June 20, 2019 17:59
@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 Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ng 8.0 + ivy + library Error : does not have 'ngModuleDef' property
4 participants