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.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distributions

File details

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

File metadata

File hashes

Hashes for django-compressor-autoprefixer-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bb1b2571d09e53a79c4bc441a2aedaf2a71537db2c9fd1aeabf9e3619c0a0860
MD5 3fee9864eb9ea5a9322e3c26fefb0927
BLAKE2b-256 438f07f176be0da0743ee68510f283856d0d668ea27548f95919d7ca30211a4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_compressor_autoprefixer-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6609fe687a6e2d840023b5a1922d4a410ba53f71af7d6e86fb0b7cca2fa89552
MD5 000050704b7101dde7ff44543625eac7
BLAKE2b-256 2b0fe748ccde9a49ed763f9d37704c7889db2a5ac500455f4edee4cb2b332ea1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_compressor_autoprefixer-0.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 0f1bd6fe72a01e43bafa6f663153b3f53c5642f851f5a2480c77d3f17aad8114
MD5 7b19eb337fd382ed81bc9efc28ee0f74
BLAKE2b-256 745e84202c19e12e8934f1804b36925cdfd35372bfd78526573e4f7c4d4603fb

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