webpack: Move landing-page.js to webpack bundle.

This commit is contained in:
Mehanig 2017-05-24 15:36:27 -07:00 committed by Tim Abbott
parent 2c6f2fb93a
commit ae29d4b8d2
6 changed files with 5 additions and 10 deletions

View File

@ -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 %}

View File

@ -4,7 +4,7 @@
{% stylesheet 'portico' %}
{% stylesheet 'landing-page' %}
{{ minified_js('landing-page')|safe }}
{{ render_bundle('landing-page') }}
{% endblock %}

View File

@ -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);

View File

@ -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 %}

View File

@ -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"
}

View File

@ -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',