react-email should be added as dev dependency #1575
Closed
angelhodar
started this conversation in
General
Replies: 1 comment 1 reply
-
You are completely right on this, but #1537 should already help with the issue of bundle size — as it will have Next and other dependencies as devDependencies. And one more thing, as more of a heads-up, in the future, we will probably merge all components into the But currently we do have plans to guide users into installing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently installed react-email in my nodejs backend to send my emails (its working perfectly!!) but I noticed that my backend docker image went from 500MB to 1GB, so I noticed its because the docs says to install the
react-email
package that contains the nextjs preview app as a normal dependency instead of a dev one. Using qnm, you can see that it adds a lot of dependencies regarding nextjs like swc:Compared to the base one when moving
react-email
todevDependencies
:Maybe I am missing something but docs should differentiate between components and render packages from the preview server one
Beta Was this translation helpful? Give feedback.
All reactions