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

feat(core): give more hints when plugins have duplicate IDs #5899

Merged
merged 2 commits into from
Nov 9, 2021

Conversation

Josh-Cena
Copy link
Collaborator

Motivation

It has happened not a single time that a user enhanced a plugin and forgot to turn off the default plugin in the preset. I think we can benefit from some more hints on how to solve the error.

In the future we are to have a better middleware / enhancement system, and we can further mitigate the problem of duplicating IDs after enhancing.

Have you read the Contributing Guidelines on pull requests?

Yes

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

netlify bot commented Nov 7, 2021

✔️ [V2]

🔨 Explore the source changes: 27ab577

🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/6187ce5bdb065100088a7997

😎 Browse the preview: https://deploy-preview-5899--docusaurus-2.netlify.app

@github-actions
Copy link

github-actions bot commented Nov 7, 2021

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 85
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-5899--docusaurus-2.netlify.app/

@github-actions
Copy link

github-actions bot commented Nov 7, 2021

Size Change: -3 B (0%)

Total Size: 881 kB

ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/globalData.json 38.2 kB 0 B
website/build/assets/css/styles.********.css 94 kB 0 B
website/build/assets/js/main.********.js 474 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus/index.html 66.1 kB 0 B
website/build/blog/index.html 36.8 kB 0 B
website/build/docs/index.html 44 kB 0 B
website/build/docs/installation/index.html 51.5 kB -3 B (0%)
website/build/index.html 29.5 kB 0 B
website/build/tests/docs/index.html 25.2 kB 0 B
website/build/tests/docs/standalone/index.html 21.7 kB 0 B

compressed-size-action

@Josh-Cena Josh-Cena added the pr: polish This PR adds a very minor behavior improvement that users will enjoy. label Nov 8, 2021
@slorber
Copy link
Collaborator

slorber commented Nov 9, 2021

thanks, definitively wanted to add this ;)

@slorber slorber merged commit eab8c7c into main Nov 9, 2021
@slorber slorber deleted the jc/plugin-dup-id-error branch November 9, 2021 18:32
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: polish This PR adds a very minor behavior improvement that users will enjoy.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants