django-static-precompiler
django-static-precompiler copied to clipboard
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.
Ruby Sass has reached EOL and the official Sass website only provides instructions for installing the NPM package (Dart Sass) Due to these lines in `scss.py` ```py 11 args =...
prod environment i set ` STATIC_PRECOMPILER_COMPILERS = ( ('static_precompiler.compilers.LESS', { "sourcemap_enabled": True, }), ) `  Show CSS instead of less But development environment No matter what I set "sourcemap_enabled":...
Might be a huge improvement and a rebirth to this package since Dart Sass is now the official version. I haven't done enough research but it actually might come down...
``` body { $test: 10px; left: calc(100% - $test); } ``` Should emit: ``` body { left: calc(100% - 10px); } ``` Instead emits: ``` body { left: calc(100% -...
The url_converters uses a greedy regex to find URLs, and can cause incorrect output. Here is a simple test case: // SCSS #features details { background: url("/static/profile/ui/img/asideicons.png") no-repeat; } @media...
Bumps [django](https://github.com/django/django) from 1.7 to 2.2.26. Commits 44e7cca 2.2.x] Bumped version for 2.2.26 release. 4cb35b3 [2.2.x] Fixed CVE-2021-45452 -- Fixed potential path traversal in storage sub... c9f648c [2.2.x] Fixed CVE-2021-45116...
I've noticed that whenever I try to compile scss files with django-static-precompiler using Dart Sass that a StaticCompliationError is thrown with no exception message thrown. It works fine with ruby-sass...
The url_converters uses a greedy regex to find URLs, and can cause incorrect output. Here is a simple test case: // SCSS #features details { background: url("/static/profile/ui/img/asideicons.png") no-repeat; } @media...
Using parameter `output_filename_hint` when compiling scss with libsass, should fix the wrongly generated `sourceMappingURL`. At least it fixed the problem for me. Fixes: https://github.com/andreyfedoseev/django-static-precompiler/issues/95 Related: https://github.com/sass/libsass-python/issues/201
with kinda the default configuration i get a wrong paths in the generated css file /*# sourceMappingURL=../COMPILED/sass/styles.css.map */ being in the sass folder this results in the following URL: /static/COMPILED/COMPILED/sass/styles.css.map...