Next.js Discord

Discord Forum

How can i modify nextjs compiler?

Unanswered
Standard Chinchilla posted this in #help-forum
Open in Discord
Standard ChinchillaOP
I wrote a program in rust, that optimizes the tailwind classnames in production (https://github.com/vercel/next.js/discussions/65109) and it works. But now i want to somehow embed it into the nextjs compiler. Sorry if it is a dummy question, but can i create something sort of a plugin to nextjs, that would do the job?

P.s. I would appreciate it if you would vote for my suggestion on this link. It seems like a really cool idea to me and I would love to see it implemented in future versions of Next.js.

0 Replies