Replies: 1 comment 4 replies
-
The change was just organizational, since before we had all preview server dependencies as I suppose this is the trade-off for the change of architecture we made, but for now I don't think we can make a change to improve this much, but this shouldn't affect bundle sizes or dependencies installed in Definitely open to ideas. |
Beta Was this translation helpful? Give feedback.
4 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure if this is really a question or not, but I upgraded to the latest version and needed to install the new preview server, and npm installed ~300 packages more than the old server. Seems really excessive, especially since there doesnt seem to be a huge change in the server itself when it got stripped out into its own package. Are there maybe dev dependencies accidentally being installed?
So i run
npm ci && npm dedupe
while having react email 4.0.17 installed (which includes a preview server),Then, I run
npm i -D @react-email/preview-server react-email@latest
and getadded 316 packages, removed 3 packages
. Running dedupe removes 28 packages, but still +288 packages.Beta Was this translation helpful? Give feedback.
All reactions