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

Don't pass Remix Vite plugin to the vite-node compiler #1308

Merged
merged 2 commits into from
Feb 3, 2024

Conversation

mrm007
Copy link
Contributor

@mrm007 mrm007 commented Feb 3, 2024

Similar to #1300, we need to filter out Remix before passing plugins to the compiler.
Remix throws an error if it's loaded without a config file, like we do when we initialise the vite-node compiler.

This has been an issue with version 4.x of our Vite plugin since the very beginning. remix-run/remix#7990 was merged long before we released v4.0.0.

Copy link

changeset-bot bot commented Feb 3, 2024

🦋 Changeset detected

Latest commit: 20efefb

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 force-pushed the vite-plugin-skip-remix-plugins branch from 75c278b to 75a8bfd Compare February 3, 2024 10:19
@mrm007 mrm007 marked this pull request as ready for review February 3, 2024 10:19
@mrm007 mrm007 merged commit 20e33a5 into master Feb 3, 2024
11 checks passed
@mrm007 mrm007 deleted the vite-plugin-skip-remix-plugins branch February 3, 2024 12:55
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.

2 participants