Next.js Discord

Discord Forum

How to configure nextjs to run tailwindcss after running babeljs?

Unanswered
Cinnamon posted this in #help-forum
Open in Discord
Avatar
CinnamonOP
Hi,
I have a custom babeljs plugin that modifies elements classNames and css files, but when running pnpm run dev it seems that this has no effect since nextjs is running tailwind(postcss) and then babeljs, so the modifications done by the babeljs plugin are not being detected, how can i set it up so that babeljs is ran and then tailwind ?

0 Replies