postcss-discard-comments is a PostCSS plugin that efficiently removes comments from your CSS. It offers options to control comment removal based on type, condition, and location. Use it to minify your CSS output, improving file size and performance. Perfect for production builds and streamlining deployment, this package keeps your stylesheets clean and optimized by discarding unnecessary comments without affecting functionality.
Postcss-discard-comments releases started in March 2015. The most active period was in 2015. Releases became sporadic after 2015, with occasional versions in 2018, 2019, 2021, 2022, 2023, 2024 and 2025.The latest version, 7.0.4, was released in May 2025. Overall, the release frequency decreased significantly after the initial burst.
PostCSS-discard-comments downloads show a fluctuating but generally upward trend from March 2024 to August 2025, ranging from 27M to 60M. September 2025 downloads are significantly lower at 23M, likely reflecting incomplete data for the month. Overall, the package demonstrates consistent, high usage.