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

fix: ensure we register Babel plugins with their full path #946

Merged
merged 1 commit into from
Nov 13, 2019

Conversation

dfreeman
Copy link
Member

Currently we're specifying just the name of the Babel plugins we register, which works as long as some version of those plugins gets hoisted and is available to require from the host application's perspective. This fails, though, if the hoisting doesn't happen, or if the package is linked, or other dependency shenanigans are in play.

This PR adds our plugins by their full path rather than just by name (the helpers we use already account for either of these formats, so nothing else should need to change).

@chriskrycho
Copy link
Member

Again: disabling Windows tests and merging. 😢

@chriskrycho chriskrycho merged commit d3c5508 into master Nov 13, 2019
@delete-merged-branch delete-merged-branch bot deleted the resolve-babel-plugins branch November 13, 2019 23:46
@chriskrycho
Copy link
Member

I have now reenabled Windows tests for the time being.

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.

None yet

2 participants