mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
css/webpack: Moved archive styles to webpack bundle.
This commit moves the stylesheets under the archive bundle in the Django pipeline to being compiled by webpack instead. It also removes a remaining call to a portico stylesheet that no longer exists.
This commit is contained in:
committed by
Tim Abbott
parent
54bf2a6231
commit
cca10beb78
@@ -15,8 +15,7 @@
|
||||
{{ render_bundle('translations', attrs='nonce="%s"' % (csp_nonce)) }}
|
||||
{{ render_bundle('katex', attrs='nonce="%s"' % (csp_nonce)) }}
|
||||
{{ render_bundle('portico') }}
|
||||
{% stylesheet 'portico' %}
|
||||
{% stylesheet 'archive_css' %}
|
||||
{{ render_bundle('archive-styles') }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -79,5 +79,11 @@
|
||||
"./static/styles/typing_notifications.scss",
|
||||
"./static/styles/hotspots.scss",
|
||||
"./static/styles/night_mode.scss"
|
||||
],
|
||||
"archive-styles": [
|
||||
"./node_modules/katex/dist/katex.css",
|
||||
"./static/styles/zulip.scss",
|
||||
"./static/styles/media.scss",
|
||||
"./static/styles/archive.scss"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -876,15 +876,6 @@ PIPELINE = {
|
||||
),
|
||||
'output_filename': 'min/twitter_sprite.css',
|
||||
},
|
||||
'archive_css': {
|
||||
'source_filenames': (
|
||||
'node_modules/katex/dist/katex.css',
|
||||
'styles/zulip.css',
|
||||
'styles/media.css',
|
||||
'styles/archive.css',
|
||||
),
|
||||
'output_filename': 'min/archive_css.css',
|
||||
},
|
||||
},
|
||||
'JAVASCRIPT': {},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user