You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using react-email with tailwind.
In order to use CSS variables I found a gist to use your plugin.
Unfortunately as soon as I use the plugin i get the following error while building.
./tailwind.config.ts
Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime
Learn More: https://nextjs.org/docs/messages/edge-dynamic-code-evaluation
The error was caused by importing '@mertasan/tailwindcss-variables/src/index.js' in './tailwind.config.ts'.
Import trace for requested module:
./tailwind.config.ts
./emails/verify-email.tsx
./src/server/authSendRequest.ts
./src/server/auth.ts
./src/middleware.ts
> Build failed because of webpack errors
Steps To Reproduce:
Install latest next js 14.x.x with latest react-email and tailwind, components
Try to build the project
The text was updated successfully, but these errors were encountered:
Versions:
Description:
I'm using react-email with tailwind.
In order to use CSS variables I found a gist to use your plugin.
Unfortunately as soon as I use the plugin i get the following error while building.
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: