-
Couldn't load subscription status.
- Fork 340
Closed
Description
I have a use-case where I need to specify the URL to a generated CSS file within a Javascript options object. I therefore need the publicPath without the HTML tags.
I have created a working implementation here but maybe there is a better way to do it.
https://github.com/sbaechler/django-webpack-loader/blob/tag/webpack_loader/templatetags/webpack_loader.py
I am using the new tag in the CKeditor config. 'editor' is the name of the CSS bundle:
CKEDITOR.config.contentsCss = '{% bundle_item_url 'editor' 'css' %}'; Metadata
Metadata
Assignees
Labels
No labels