webpack: Migrate `signup.js` bundle to webpack static asset pipeline.

This commit is contained in:
Harshit Bansal 2017-06-15 22:30:09 +00:00 committed by showell
parent 3953734a1c
commit c50b3672c2
5 changed files with 8 additions and 11 deletions

View File

@ -3,7 +3,7 @@
{% block customhead %}
{{ super() }}
{{ minified_js('signup')|safe }}
{{ render_bundle('signup') }}
{% endblock %}
{% block portico_content %}

View File

@ -4,5 +4,5 @@
{% block customhead %}
{{ super() }}
{{ minified_js('signup')|safe }}
{{ render_bundle('signup') }}
{% endblock %}

View File

@ -22,10 +22,10 @@ Reusing existing connection to localhost:443.
HTTP/1.1 200 OK
Server: nginx/1.4.6 (Ubuntu)
Content-Type: text/html; charset=utf-8
Content-Length: 6187
Content-Length: 6205
Connection: keep-alive
Strict-Transport-Security: max-age=15768000
Length: 6187 (6.0K) [text/html]
Length: 6205 (6.1K) [text/html]
Saving to: /tmp/index.html

View File

@ -3,6 +3,10 @@
"api": "./static/js/portico/api.js",
"katex": ["./node_modules/katex/dist/katex.min.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": [
"./static/js/stats/stats.js",
"./node_modules/plotly.js/dist/plotly-basic.min.js"

View File

@ -822,13 +822,6 @@ JS_SPECS = {
],
'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': {
'source_filenames': [
'third/bootstrap-notify/js/bootstrap-notify.js',