SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit efa716bc authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Split webpack chunks

parent d88f2e97
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@
<link rel="stylesheet" type="text/css" href="{% static 'scipost/SciPost.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'fa/css/font-awesome.min.css' %}" />
{% render_bundle 'vendors~homepage~main~qr' %}
{% render_bundle 'vendors~main' %}
{% render_bundle 'main' %}
<link rel="shortcut icon" href="{% static 'scipost/images/scipost_favicon.png' %}"/>
......
......@@ -3,6 +3,7 @@
{% load render_bundle from webpack_loader %}
{% block headsup %}
{% render_bundle 'vendors~qr' %}
{% render_bundle 'qr' %}
{% endblock headsup %}
......
......@@ -75,4 +75,9 @@ module.exports = {
}
]
},
optimization: {
splitChunks: {
chunks: 'all',
},
},
}
......@@ -74,4 +74,9 @@ module.exports = {
}
]
},
optimization: {
splitChunks: {
chunks: 'all',
},
},
}
......@@ -75,4 +75,9 @@ module.exports = {
}
]
},
optimization: {
splitChunks: {
chunks: 'all',
},
},
}
......@@ -74,4 +74,9 @@ module.exports = {
}
]
},
optimization: {
splitChunks: {
chunks: 'all',
},
},
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment