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

test: fix "excluded dep in included dep" test #18999

Conversation

sapphi-red
Copy link
Member

@sapphi-red sapphi-red added p1-chore Doesn't change code behavior (priority) test labels Dec 18, 2024
@@ -1,4 +1,4 @@
import { testExcluded } from 'test-package-e-excluded'
import { testExcluded } from '@vitejs/test-package-e-excluded'
Copy link
Member Author

@sapphi-red sapphi-red Dec 18, 2024

Choose a reason for hiding this comment

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

Instead of changing this import, we can add test-package-e-excluded to optimizeDeps.exclude, too.

Copy link
Member

@patak-dev patak-dev left a comment

Choose a reason for hiding this comment

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

❤️

@patak-dev patak-dev merged commit 3e4caab into vitejs:main Dec 18, 2024
17 checks passed
@sapphi-red sapphi-red deleted the test/nested-deps-fix-excluded-dep-in-included-dep-test branch December 18, 2024 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1-chore Doesn't change code behavior (priority) test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants