Skip to main content

Django Compressor CSS filter for autoprefixer

Project description

Django-Compressor-Autoprefixer is using postcss/autoprefixer cli.

INSTALLATION

pip install django-compressor-autoprefixer

USAGE

Add to settings.py:

COMPRESS_CSS_FILTERS = (
    # ...
    'django_compressor_autoprefixer.AutoprefixerFilter',)

SETTINGS

  • COMPRESS_AUTOPREFIXER_BINARY - path autoprefixer binary (if it not in PATH environment variable)

  • COMPRESS_AUTOPREFIXER_ARGS - arguments for cli tool (see autoprefixer --help)

LICENCE

MIT License

Copyright (C) 2015 by Yuri Shikanov

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-compressor-autoprefixer-0.0.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distributions

File details

Details for the file django-compressor-autoprefixer-0.0.1.tar.gz.

File metadata

File hashes

Hashes for django-compressor-autoprefixer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 013c940d19af26f61f795fb6fd01e743c6507b4374d5127923bc391741082953
MD5 280c5ed0777cd64af0ed840a7e666667
BLAKE2b-256 9a56a79bd44eaef72c31df5a06cf83798ca2f8342f4e925a31ace549150b75e3

See more details on using hashes here.

File details

Details for the file django_compressor_autoprefixer-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_compressor_autoprefixer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3e885ebfa6ba8c405480a990576ff0f54453689b810b1d4923f1600f5736345
MD5 6a228f0e326012a733b15072168bc975
BLAKE2b-256 0a27f92fbefeb5796fd98678e92cd7581710dd66aba230df17221d44990aafdd

See more details on using hashes here.

File details

Details for the file django_compressor_autoprefixer-0.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for django_compressor_autoprefixer-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 b867da895602fa1afdd3e0a5892585bbe0b7b666b8ec7999d342eb673180e7cb
MD5 1e6d44aa2ccac866d7ced91e53f68dd1
BLAKE2b-256 c580ff7ce4dde65c38f6d1069d2fa2dd45f4836047dac642ae910e6ddf055244

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page