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.
I discovered this bug while running on windows. In compilestatic.py (lines 29 and 30) it does this: ``` if path.startswith("/"): path = path[1:] ```` This obviously wouldn't work for windows...
In fact, Babel is not very useful without Browserify. Please, suggest what's missing and can be added (like in docs, etc.)
Bootstrap uses Autoprefixer in addition to LESS/SASS. Wondering if you'd consider support for this tool, so that static_precompiler can build the full Bootstrap stack.
This fixes #149 and is required for Django 4.1 support
As of Django 4.1, the management command system expects a list or tuple of required checks instead of a simple boolean. See https://code.djangoproject.com/ticket/31546 Error looks like this: ``` Traceback (most...
Bumps [django](https://github.com/django/django) from 3.2.20 to 3.2.23. Commits 60e648a [3.2.x] Bumped version for 3.2.23 release. f9a7fb8 [3.2.x] Fixed CVE-2023-46695 -- Fixed potential DoS in UsernameField on Windows. e6d2591 [3.2.x] Added stub...
Used the `python manage.py compilestatic` command to compile the `card.less` file which is in the `static` folder of django project, getting this error ``` (venv) [swastik@manjaro eduBOT]$ python manage.py compilestatic...
I'm trying to import a CSS file within Less using the following import: ```css @import (inline) "normalize.css/normalize.css"; ``` The compile seems to run correctly when I probe into the files...