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

docs(v2): add require.resolve to plugin imports on remaining pages #2946

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

teikjun
Copy link
Contributor

@teikjun teikjun commented Jun 16, 2020

Motivation

Plugin imports on some pages are not wrapped in require.resolve yet.
This PR adds require.resolve to plugin imports on the remaining pages (for v2.0.0-alpha.56 docs).

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

The changes can be viewed on Netlify here:
https://deploy-preview-2946--docusaurus-2.netlify.app/

Related PRs

This PR is similar to #2941, but for the remaining pages.

@teikjun teikjun requested a review from yangshun as a code owner June 16, 2020 16:46
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jun 16, 2020
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-2 ready!

Built with commit 05caea5

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

Copy link
Contributor

@yangshun yangshun left a comment

Choose a reason for hiding this comment

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

Thank you for the initiative Teik Jun!

@yangshun yangshun merged commit 955e656 into facebook:master Jun 16, 2020
@slorber slorber added the pr: documentation This PR works on the website or other text documents in the repo. label Jun 17, 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: documentation This PR works on the website or other text documents in the repo.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants