We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using django-compressor in an HTML template
{% compress js file demo %} <script src="{% static 'demo/js/vendor/htmx/htmx.js' %}"></script> <!--version 1.9.2--> <script src="{% static 'demo/js/vendor/htmx/ext/preload.js' %}"></script> <script src="{% static 'demo/js/vendor/htmx/ext/morphdom-swap.js' %}"></script> <script src="{% static 'demo/js/vendor/hyperscript.js' %}"></script> <!--version 2.0.2--> {% endcompress %}
will cause Uncaught SyntaxError: Unexpected token < as GoogleTagManager renders HTML in the compressed .js file due to this error
Uncaught SyntaxError: Unexpected token <
The text was updated successfully, but these errors were encountered:
Nevermind, the script I used to download the files from unpkg downloaded the pages from unpkg, not the raw files themselves
Sorry, something went wrong.
No branches or pull requests
Using django-compressor in an HTML template
will cause
Uncaught SyntaxError: Unexpected token <
as GoogleTagManager renders HTML in the compressed .js file due to this errorThe text was updated successfully, but these errors were encountered: