mirror of https://github.com/zulip/zulip.git
webpack: Migrate `signup.js` bundle to webpack static asset pipeline.
This commit is contained in:
parent
3953734a1c
commit
c50b3672c2
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
{% block customhead %}
|
{% block customhead %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
{{ minified_js('signup')|safe }}
|
{{ render_bundle('signup') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block portico_content %}
|
{% block portico_content %}
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
|
|
||||||
{% block customhead %}
|
{% block customhead %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
{{ minified_js('signup')|safe }}
|
{{ render_bundle('signup') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -22,10 +22,10 @@ Reusing existing connection to localhost:443.
|
||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Server: nginx/1.4.6 (Ubuntu)
|
Server: nginx/1.4.6 (Ubuntu)
|
||||||
Content-Type: text/html; charset=utf-8
|
Content-Type: text/html; charset=utf-8
|
||||||
Content-Length: 6187
|
Content-Length: 6205
|
||||||
Connection: keep-alive
|
Connection: keep-alive
|
||||||
Strict-Transport-Security: max-age=15768000
|
Strict-Transport-Security: max-age=15768000
|
||||||
Length: 6187 (6.0K) [text/html]
|
Length: 6205 (6.1K) [text/html]
|
||||||
Saving to: ‘/tmp/index.html’
|
Saving to: ‘/tmp/index.html’
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
"api": "./static/js/portico/api.js",
|
"api": "./static/js/portico/api.js",
|
||||||
"katex": ["./node_modules/katex/dist/katex.min.js"],
|
"katex": ["./node_modules/katex/dist/katex.min.js"],
|
||||||
"landing-page": "./static/js/portico/landing-page.js",
|
"landing-page": "./static/js/portico/landing-page.js",
|
||||||
|
"signup": [
|
||||||
|
"./static/js/portico/signup.js",
|
||||||
|
"./node_modules/jquery-validation/dist/jquery.validate.min.js"
|
||||||
|
],
|
||||||
"stats": [
|
"stats": [
|
||||||
"./static/js/stats/stats.js",
|
"./static/js/stats/stats.js",
|
||||||
"./node_modules/plotly.js/dist/plotly-basic.min.js"
|
"./node_modules/plotly.js/dist/plotly-basic.min.js"
|
||||||
|
|
|
@ -822,13 +822,6 @@ JS_SPECS = {
|
||||||
],
|
],
|
||||||
'output_filename': 'min/common.js'
|
'output_filename': 'min/common.js'
|
||||||
},
|
},
|
||||||
'signup': {
|
|
||||||
'source_filenames': [
|
|
||||||
'js/portico/signup.js',
|
|
||||||
'node_modules/jquery-validation/dist/jquery.validate.js',
|
|
||||||
],
|
|
||||||
'output_filename': 'min/signup.js'
|
|
||||||
},
|
|
||||||
'app': {
|
'app': {
|
||||||
'source_filenames': [
|
'source_filenames': [
|
||||||
'third/bootstrap-notify/js/bootstrap-notify.js',
|
'third/bootstrap-notify/js/bootstrap-notify.js',
|
||||||
|
|
Loading…
Reference in New Issue