Replies: 1 comment
-
Agreed. Was one of the motivating factors for an effort I started to write a replacement for the CLI. About a week or so out from making that public. If you'd like to see progress, you can check that out on my fork here: https://github.com/shellscape/jsx-email/tree/feat/cli/initial |
Beta Was this translation helpful? Give feedback.
0 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.
-
Goals
Background
In the bad old days, we'd end up with multiple webpacks. We'd like to avoid that in the future.
Proposal
react-email pins all of its npm dependencies:
https://github.com/resendlabs/react-email/blob/main/packages/react-email/package.json#L37
which might be good for reliability, but is basically bad for the
node_modules
directory, especially in the case of esbuild, in which it's pinning a particular out-of-date version. It would be great to use looser, and newer, semver specifiers to allownpm
to do its work of deduplicating big dependencies like esbuild.Beta Was this translation helpful? Give feedback.
All reactions