Configure React Email on a yarn monorepo
1.x
), you can do something similar to the
pnpm guide.transactional
inside of where you keep workspace packages (generally ./packages/*
).
Include a new package.json
and do not forget to add this to the workspaces
of your monorepo’s package.json
.
node-modules
or to pnpm
node-modules
and pnpm
install modes
so you will need to set it to one of these two on your .yarnrc.yml
file:
transactional
workspace.
package.json
file.
emails
, create a file inside called MyEmail.tsx
and add the following example code:
emails/MyEmail.tsx
file to see the changes.