django-compressor-toolkit icon indicating copy to clipboard operation
django-compressor-toolkit copied to clipboard

New release with working Autoprefixer, please?

Open flesser opened this issue 7 years ago • 1 comments

I was wondering why my CSS did not get any vendor prefixes at all (like Autoprefixer was never used), until I found 69d8b3e59474b32f3cff715d66b878e356c04878 (indeed, it wasn't!).

As the latest release v0.6.0 here on GitHub is from before that (quite important!) fix, pip install django-compressor-toolkit leaves you with a broken version that does not work as advertised in the Readme.

I know the workaround would be to pip install git+https://github.com/kottenator/django-compressor-toolkit, but could you please consider to release a new version containing this fix?

flesser avatar Oct 20 '17 11:10 flesser

It's been awhile since this issue was posted. Sorry, @flesser, I've totally forgot to answer.

Yes, it's a good idea to release a new version :) Also, I need to consider other open issues - maybe they're worth solving & including into the new release as well.

BTW, you can also do a workaround in Django settings:

# settings.py

COMPRESS_POSTCSS_BIN = './node_modules/.bin/postcss'

kottenator avatar May 19 '18 18:05 kottenator