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

Skip loading plugins added by Vitest #1300

Merged
merged 2 commits into from
Jan 29, 2024
Merged

Conversation

mrm007
Copy link
Contributor

@mrm007 mrm007 commented Jan 29, 2024

Fixes #1298.

Vitest adds its own plugins before our config hook gets a chance to run, so we need to filter them out before passing plugins to the compiler.

Copy link

changeset-bot bot commented Jan 29, 2024

🦋 Changeset detected

Latest commit: 24e7ac1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@vanilla-extract/vite-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mrm007 mrm007 merged commit d0b84f6 into master Jan 29, 2024
11 checks passed
@mrm007 mrm007 deleted the vite-plugin-skip-vitest-plugins branch January 29, 2024 21:35
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.

Vite plugin shows a RerenceError when running test with vitest
2 participants