Closed skoblenick closed 3 years ago
I have a project that uses postcss with the following config:
module.exports = { plugins: [ require('postcss-import'), require('postcss-nested'), require('tailwindcss')('./tailwind.config.js'), require('autoprefixer'), require('cssnano'), ], };
With v5.0.5 the above just hangs when there are any nested structures like:
v5.0.5
@layer components { .button { @apply border-2 border-transparent group cursor-pointer h-6 w-11; &--short { @apply button border-0 h-5 w-10; } } }
With v5.0.1 this above doesn't hang and generated the expected output.
v5.0.1
Let me know if you'd like an example repo that demonstrates the issue and I can throw one together.
Can you make an example as simpler as possible and add expected and real output?
Should be fixed with PostCSS 8.3.3.
I have a project that uses postcss with the following config:
With
v5.0.5
the above just hangs when there are any nested structures like:With
v5.0.1
this above doesn't hang and generated the expected output.Let me know if you'd like an example repo that demonstrates the issue and I can throw one together.