mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
webpack: Move landing-page.js to webpack bundle.
This commit is contained in:
parent
2c6f2fb93a
commit
ae29d4b8d2
@ -4,7 +4,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{% stylesheet 'portico' %}
|
||||
{% stylesheet 'landing-page' %}
|
||||
{{ minified_js('landing-page')|safe }}
|
||||
{{ render_bundle('landing-page') }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
{% stylesheet 'portico' %}
|
||||
{% stylesheet 'landing-page' %}
|
||||
{{ minified_js('landing-page')|safe }}
|
||||
{{ render_bundle('landing-page') }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{% stylesheet 'portico' %}
|
||||
{% stylesheet 'landing-page' %}
|
||||
{{ minified_js('landing-page')|safe }}
|
||||
{{ render_bundle('landing-page') }}
|
||||
<style>
|
||||
html {
|
||||
background: rgb(32, 39, 51);
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{% stylesheet 'portico' %}
|
||||
{% stylesheet 'landing-page' %}
|
||||
{{ minified_js('landing-page')|safe }}
|
||||
{{ render_bundle('landing-page') }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@ -2,5 +2,6 @@
|
||||
"activity": "./static/third/sorttable/sorttable.js",
|
||||
"api": "./static/js/portico/api.js",
|
||||
"katex": ["./node_modules/katex/dist/katex.min.js"],
|
||||
"landing-page": "./static/js/portico/landing-page.js",
|
||||
"translations": "./static/js/translations.js"
|
||||
}
|
||||
|
||||
@ -821,12 +821,6 @@ JS_SPECS = {
|
||||
],
|
||||
'output_filename': 'min/common.js'
|
||||
},
|
||||
'landing-page': {
|
||||
'source_filenames': [
|
||||
'js/portico/landing-page.js',
|
||||
],
|
||||
'output_filename': 'min/landing.js'
|
||||
},
|
||||
'signup': {
|
||||
'source_filenames': [
|
||||
'js/portico/signup.js',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user