Describe the bug
The openwisp_utils.storage.CompressStaticFilesStorage backend causes collectstatic to fail when used in environments with the latest version of drf-yasg. The static files compressor (csscompressor) triggers ValueError: malformed css.
Steps To Reproduce
Steps to reproduce the behavior:
- Set up a Django project using drf-yasg and configure
openwisp_utils.storage.CompressStaticFilesStorage as the staticfiles backend
- Run
collectstatic
- See error:
ValueError: malformed css
Expected behavior
collectstatic completes successfully, even with modern CSS from third-party packages such as drf-yasg.