Has anyone managed to generate a static tailwind config using something like next-plugin-preval?
Hey y'all!
next-plugin-preval seems to be a pretty outdated plugin that doesn't play nice with config.transpilePackages. However, it seems wild to me that I have to include a bunch of unneeded tailwind javascript code in my client bundle just to import and use things like my theme colours and breakpoints. Has anyone found a solution to this?
next-plugin-preval seems to be a pretty outdated plugin that doesn't play nice with config.transpilePackages. However, it seems wild to me that I have to include a bunch of unneeded tailwind javascript code in my client bundle just to import and use things like my theme colours and breakpoints. Has anyone found a solution to this?
0 Replies