react-email
react-email copied to clipboard
chore(deps): Update tw-to-css depedency
This PR addresses a bug encountered when using the Tailwind component in the react-email package. The issue arose from some pre-compilers trying to access the esm file instead of the commonjs module. The solution was to update the tw-to-css package to its latest version, where the bug has been resolved.
How to test:
To test, clone the react-email package and link it locally with the following command:
yarn workspace @react-email/tailwind link
Next, link the package in a project for testing with:
yarn link @react-email/tailwind
This will allow you to use the package as if it were installed in your
npm_modules.
After testing, unlink the package by running:
yarn workspace @react-email/tailwind unlink