django-static-precompiler

Django Static Precompiler provides template tags and filters to compile CoffeeScript, LiveScript, SASS / SCSS, LESS, Stylus, Babel and Handlebars. It works with both inline code and external files.

OTHER License

Downloads
10.4K
Stars
222
Committers
18

Bot releases are hidden (Show)

django-static-precompiler - 2.4 Latest Release

Published by andreyfedoseev almost 2 years ago

Deprecation

  • Ruby-based Sass compiler is deprecated and will be removed in 3.0

New

  • Added support for Dart Sass, see documentation on how to enable it.
    Dart Sass will become the default Sass compiler starting from 3.0

Bugfixes

  • Fix the bug with a greedy regex in the URL converter

Misc

django-static-precompiler - 2.3

Published by andreyfedoseev almost 2 years ago

  • Fix incorrect source map URL with libsass
django-static-precompiler - 2.2

Published by andreyfedoseev almost 2 years ago

  • Add support for Django 4.1
django-static-precompiler - 2.1

Published by andreyfedoseev over 2 years ago

  • Drop Python 3.5 support
  • Drop Django 1.x support
  • Add support for Django 4.0
django-static-precompiler - 2.0

Published by andreyfedoseev almost 4 years ago

  • Drop Python 2.x support
  • Add support for Django 3.0 and 3.1
django-static-precompiler - 1.8.2

Published by andreyfedoseev over 6 years ago

  • Add clean_css option to LESS compiler
  • Fix URL converter to properly handle url(..) not followed directly by ;
django-static-precompiler - 1.8.1

Published by andreyfedoseev over 6 years ago

  • Fix setup.py to add compatibility with Python 3.4 and below.
django-static-precompiler - 1.8

Published by andreyfedoseev over 6 years ago

  • Remove deprecated settings: COFFEESCRIPT_EXECUTABLE, SCSS_EXECUTABLE, SCSS_USE_COMPASS, LESS_EXECUTABLE
  • Add --ignore-dependencies option to compilestatic command
  • Add --delete-stale-files option to compilestatic command
django-static-precompiler - 1.7.1

Published by andreyfedoseev over 6 years ago

  • Bugfix: properly handle the URLs containing parenthesis or quotes
django-static-precompiler - 1.7

Published by andreyfedoseev almost 7 years ago

  • Prevent detection of imports in comments (SCSS)
  • Add support for Django 2.0
django-static-precompiler - 1.6

Published by andreyfedoseev over 7 years ago

  • Add support for Django 1.11
  • Drop support for Django 1.6
  • Add include_path option to LESS compiler
  • Take account of load_paths option when doing inline compilation with libsass
  • Bugfix: take account of additional compiler options when doing inline compilation with SASS
django-static-precompiler - 1.5

Published by andreyfedoseev about 8 years ago

  • Add support for Django 1.10 and Python 3.5
  • Improve support for load_paths setting in SCSS/SASS compilers.
django-static-precompiler - 1.4

Published by andreyfedoseev over 8 years ago

  • Fix the run_command utility function to rely on process return code rather than stderr to determine if compilation
    has finished successfully. WARNING! Changes in run_command are backward incompatible. If you use this function in
    your custom compiler you should update your code.
django-static-precompiler -

Published by andreyfedoseev over 8 years ago

  • Add support for --presets option in Babel compiler. See babel-cli options <https://babeljs.io/docs/usage/options/> for more information.
django-static-precompiler - 1.3

Published by andreyfedoseev over 8 years ago

  • Fix Stylus compiler to actually enable support for detecting changes in imported files
  • Add precision option to SASS / SCSS / LibSass compilers. Set it to 8 or more if you compile Bootstrap.
  • Add output_style option to SASS / SCSS / LibSass compilers.
  • Enable verbose output for compilestatic management command
django-static-precompiler - 1.2

Published by andreyfedoseev almost 9 years ago

  • Add LiveScript compiler
  • Add support for --global-var option in LESS compiler
  • Add SCSS / SASS compiler based on Libsass
django-static-precompiler - 1.1

Published by andreyfedoseev almost 9 years ago

  • Add source maps support for SASS/SCSS
  • Add source maps support for LESS
  • Add source maps support for CoffeeScript
  • Add source maps support for Stylus
  • Add source maps support for Babel
  • Add Handlebars compiler
  • Add support for Django 1.9
  • Add plugins parameter to Babel compiler
  • Add load_paths parameter to SASS/SCSS compilers
django-static-precompiler - 1.0.1

Published by andreyfedoseev about 9 years ago

  • Add modules parameter to Babel compiler
  • Allow to install Watchdog with pip install django-static-precompiler[watch]
django-static-precompiler - 1.0

Published by andreyfedoseev about 9 years ago

  • Add compile template filter
  • Deprecate {% compile %} template tag
  • The following compiler specific template tags are REMOVED:
    • {% coffeescript %}
    • {% inlinecoffeescript %}
    • {% sass %}
    • {% inlinesass %}
    • {% scss %}
    • {% inlinescss %}
    • {% less %}
    • {% inlineless %}
  • Add Stylus compiler
django-static-precompiler - 0.9

Published by andreyfedoseev over 9 years ago