Skip to content

Conversation

@gabrielmfern
Copy link
Member

@gabrielmfern gabrielmfern commented Oct 23, 2025

  • fix(react-email): failing to find imports like import ... from 'tailwind.config'
  • add changeset

Summary by cubic

Fixes hot reloading in @react-email/preview-server for imports without explicit extensions or with secondary segments (e.g., import ... from 'tailwind.config'). The dependency resolver now tries the path as-is, then falls back to known JS extensions, so changes to these files trigger reload.

@gabrielmfern gabrielmfern self-assigned this Oct 23, 2025
@changeset-bot
Copy link

changeset-bot bot commented Oct 23, 2025

🦋 Changeset detected

Latest commit: b518c82

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

This PR includes changesets to release 2 packages
Name Type
@react-email/preview-server Patch
react-email 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

@gabrielmfern gabrielmfern requested a review from a team October 23, 2025 20:25
@vercel
Copy link

vercel bot commented Oct 23, 2025

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

Project Deployment Preview Comments Updated (UTC)
react-email Ready Ready Preview Comment Oct 23, 2025 8:25pm
react-email-demo Ready Ready Preview Comment Oct 23, 2025 8:25pm

@gabrielmfern gabrielmfern requested review from a team, Cisneiros and cassiozen and removed request for a team and Cisneiros October 23, 2025 20:25
@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 23, 2025

Open in StackBlitz

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

commit: b518c82

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

@gabrielmfern gabrielmfern merged commit 7da803f into canary Oct 24, 2025
17 checks passed
@gabrielmfern gabrielmfern deleted the fix/tailwind-config-import-failing branch October 24, 2025 12:27
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.

3 participants