Preview Client should support tsconfig path aliases #1106
taylor-lindores-reeves
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Background
Currently, our Preview Client lacks support for tsconfig path aliases, which necessitates a manual workaround involving the execution of a custom script (preview:email) to normalize paths. This script reads and modifies the tsconfig paths to be relative to the .react-email directory. Moreover, the Preview Client does not support "bun", a fast all-in-one JavaScript runtime that could improve our build performance. This has become a bottleneck in our development process, as it requires stopping and rerunning processes which interrupts developer flow and affects productivity.
Proposal
The proposed solution involves two primary enhancements to the Preview Client:
This will greatly simplify our project configuration and make our development process more efficient.
Beta Was this translation helpful? Give feedback.
All reactions