Skip to content

Conversation

@gabrielmfern
Copy link
Member

@gabrielmfern gabrielmfern commented Jan 21, 2026

An example of this is the most recent version bump #2878 which is failing the demo deploy exactly because of this. The issue is that, right now, we reinstall dependencies for the preview server to work properly, which, since we are bumping the version of @react-email/tailwind it's going to try installing a version that is not yet published.

To fix this, this pull request adds the apps/demo/.react-email to the workspace so that it can have access to the workspace dependencies. This also has the upside of making things faster, at the cost of making things more interconnected and complicated. Ideally we wouldn't install at all, and just reuse the installed dependencies, but with everything I've tried in #2239, I wasn't able to get it reliably working yet.

Hopefully we won't have this for very long and soon get rid of this hack. Also I think it's important to note users should never ever have to do anything like this, it's just something that's "useful" to us since we are building everything from our own repo, not installing from npm

For testing this locally, I just bumped the version for @react-email/tailwind one patch above, and tried building. Before this pull request it would fail, and now I can confirm it doesn't.

@gabrielmfern gabrielmfern requested a review from a team January 21, 2026 12:54
@gabrielmfern gabrielmfern self-assigned this Jan 21, 2026
@gabrielmfern gabrielmfern requested review from Cisneiros and removed request for a team January 21, 2026 12:54
@changeset-bot
Copy link

changeset-bot bot commented Jan 21, 2026

⚠️ No Changeset found

Latest commit: 542e312

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel
Copy link

vercel bot commented Jan 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
react-email Ready Ready Preview, Comment Jan 21, 2026 4:08pm
react-email-demo Ready Ready Preview, Comment Jan 21, 2026 4:08pm

Request Review

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 21, 2026

Open in StackBlitz

npm i https://pkg.pr.new/resend/react-email@2881

commit: 542e312

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