rykener / django-manifest-loader

Simplifies webpack configuration with Django

Home Page:https://django-manifest-loader.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't assign asset paths to a variable in templates

rykener opened this issue · comments

in django's static template tag you can do

{% static 'main.js' as foobar %}

Even though the manifest tag is just a wrapper around the static tag, the modification that takes place will strip out any arguments after the name of the asset. The manifest tag should be modified to allow the as foobar to pass through