Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the pnpapi path #542

Merged
merged 6 commits into from
Oct 19, 2019
Merged

Fixes the pnpapi path #542

merged 6 commits into from
Oct 19, 2019

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Oct 19, 2019

What's the problem this PR addresses?

Calling require.resolve('pnpapi') currently returns pnpapi. It should instead point towards the PnP hook.

How did you fix it?

Updated the code to forward the call to resolveToUnqualified, which already returns the path to the PnP API.

@arcanis arcanis merged commit 6548e82 into master Oct 19, 2019
@arcanis arcanis deleted the mael/pnpapi-builtin-path branch October 19, 2019 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant