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

Adds createRequire for preset resolution #3796

Merged
merged 3 commits into from
Nov 23, 2020
Merged

Conversation

arcanis
Copy link
Contributor

@arcanis arcanis commented Nov 21, 2020

Motivation

Cf #2576 (comment)

Have you read the Contributing Guidelines on pull requests?

Yep

Test Plan

Made the changes locally, things worked. Would be difficult for me to automate the test, as it's usually very infra-specific (for instance I'd install the project with Yarn 2, but it would require to make that possible in the test framework, and that's outside of my scope).

Related PRs

#2789 added the same thing for plugins, but forgot presets (or perhaps they didn't exist at the time), cc @SamChou19815

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Nov 21, 2020
@netlify
Copy link

netlify bot commented Nov 21, 2020

Deploy preview for docusaurus-2 ready!

Built without sensitive environment variables with commit acad15e

https://deploy-preview-3796--docusaurus-2.netlify.app

@slorber
Copy link
Collaborator

slorber commented Nov 23, 2020

Thanks, looks safe to merge :)

@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Nov 23, 2020
@slorber slorber merged commit b6cd303 into facebook:master Nov 23, 2020
@lex111 lex111 added this to the v2.0.0-alpha.69 milestone Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants