-
Notifications
You must be signed in to change notification settings - Fork 908
fix(react-email): support for environments that don't support env -S
#2915
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
base: canary
Are you sure you want to change the base?
Conversation
…ons if it doesn't have them
|
| Name | Type |
|---|---|
| @react-email/components | Patch |
| @react-email/preview-server | Patch |
| react-email | Patch |
| @react-email/tailwind | Patch |
| playground | Patch |
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
commit: |
There was a problem hiding this 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
Closes #2792
Summary by cubic
Make the react-email CLI work in environments that don’t support env -S. We now use a plain node shebang and auto-respawn with the required Node flags when needed.
#!/usr/bin/env node.--experimental-vm-modulesand--disable-warning=ExperimentalWarning.dev/index.jsfor cleaner cross-platform behavior.@react-email/preview-server:5.2.1>5.2.5andreact-email: 5.2.1>5.2.5due to env -S args. #2792.Written for commit a3915fa. Summary will update on new commits.