Closed yuriti closed 2 years ago
Hey! This looks like an issue with CSS minification in Nuxt removing variables that have empty values, which it shouldn’t do because as you’ve seen it breaks things. I believe this was recently fixed in cssnano, so I would try updating all dependencies and if that doesn’t solve it, open an issue on Nuxt. Tailwind isn’t removing those variables, something later in the build pipeline has a bug and is doing it mistakenly.
What version of Tailwind CSS are you using? v3.0.23
What build tool (or framework if it abstracts the build tool) are you using? core-js 3.21.1, nuxt 2.15.8, @nuxtjs/tailwindcss 5.0.0, autoprefixer 10.4.2, tailwindcss 3.0.23, postcss 8.4.8
What version of Node.js are you using? v16.14.0
Describe your issue Not all variables are used in the build. Main problem is that the blur class is used, but it does not work due to the lack of variables.
CSS in development mode:
CSS in production mode:
Full list of classes in the block where blur does not work:
Style tw-blur-md:
tailwind.config.js