Skip to content

fix: Resolve tailwindcss type resolution in email function build#305

Merged
paulvanbrenk merged 2 commits intomainfrom
fix/email-tsconfig-module-resolution
Feb 16, 2026
Merged

fix: Resolve tailwindcss type resolution in email function build#305
paulvanbrenk merged 2 commits intomainfrom
fix/email-tsconfig-module-resolution

Conversation

@paulvanbrenk
Copy link
Collaborator

Summary

  • Add tailwindcss as dev dependency in patchnotes-email (peer dep of @react-email/tailwind)
  • Update module from commonjs to nodenext in tsconfig so TypeScript can resolve .d.mts type declarations

Fixes the CI build failure: https://github.com/tinytoolsllc/ai-patch-notes/actions/runs/22076477092/job/63792566284

Test plan

  • pnpm build passes in patchnotes-email
  • All 26 email function tests pass

🤖 Generated with Claude Code

paulvanbrenk and others added 2 commits February 16, 2026 15:31
Add tailwindcss as dev dependency and update moduleResolution to nodenext
so TypeScript can resolve .d.mts type declarations from @react-email/tailwind.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@paulvanbrenk paulvanbrenk merged commit 4e480e6 into main Feb 16, 2026
4 checks passed
@paulvanbrenk paulvanbrenk deleted the fix/email-tsconfig-module-resolution branch February 16, 2026 20: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.

1 participant

Comments