Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Disable automatic chunk splitting

Patryk Zawadzki76cb53dbd96a
diff --git a/templates/base.html b/templates/base.html
index 2b00a8b4a4..83e938b1a6 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -21,8 +21,6 @@
{% endblock meta %}
{% include 'favicon.html' %}
- {% render_bundle 'vendors~dashboard~storefront' 'css' attrs='async' %}
- {% render_bundle 'vendors~storefront' 'css' attrs='async' %}
{% render_bundle 'storefront' 'css' attrs='async' %}
{% block stylesheet %}{% endblock stylesheet %}
@@ -281,8 +279,6 @@
{% endblock %}
{% block footer_scripts %}
<script type="text/javascript" src="{% url 'javascript-catalog' %}"></script>
- {% render_bundle 'vendors~dashboard~storefront' 'js' %}
- {% render_bundle 'vendors~storefront' 'js' %}
{% render_bundle 'storefront' 'js' %}
{% endblock footer_scripts %}
</body>
diff --git a/templates/dashboard/base.html b/templates/dashboard/base.html
index eb4e11e7df..591c83d60c 100644
--- a/templates/dashboard/base.html
+++ b/templates/dashboard/base.html
@@ -19,8 +19,6 @@
{% endblock meta %}
{% include 'favicon.html' %}
- {% render_bundle 'vendors~dashboard~storefront' 'css' %}
- {% render_bundle 'vendors~dashboard' 'css' %}
{% render_bundle 'dashboard' 'css' %}
<link rel="stylesheet" type="text/css" href="{% static "versatileimagefield/css/versatileimagefield.css" %}">
@@ -273,8 +271,6 @@
<!-- Core Scripts - Include with every page -->
<script type="text/javascript" src="{% url 'javascript-catalog' %}"></script>
- {% render_bundle 'vendors~dashboard~storefront' 'js' %}
- {% render_bundle 'vendors~dashboard' 'js' %}
{% render_bundle 'dashboard' 'js' %}
<script src="{% static "versatileimagefield/js/versatileimagefield.js" %}"></script>
diff --git a/templates/dashboard/styleguide/index.html b/templates/dashboard/styleguide/index.html
index 6674202d9f..5f1a788076 100644
--- a/templates/dashboard/styleguide/index.html
+++ b/templates/dashboard/styleguide/index.html
@@ -15,8 +15,6 @@
{% endblock meta %}
{% include 'favicon.html' %}
- {% render_bundle 'vendors~dashboard~storefront' 'css' %}
- {% render_bundle 'vendors~dashboard' 'css' %}
{% render_bundle 'dashboard' 'css' %}
<link rel="stylesheet" type="text/css" href="{% static "versatileimagefield/css/versatileimagefield.css" %}">
@@ -1622,8 +1620,6 @@
<!-- Core Scripts - Include with every page -->
<script type="text/javascript" src="{% url 'javascript-catalog' %}"></script>
- {% render_bundle 'vendors~dashboard~storefront' 'js' %}
- {% render_bundle 'vendors~dashboard' 'js' %}
{% render_bundle 'dashboard' 'js' %}
<script src="{% static "versatileimagefield/js/versatileimagefield.js" %}"></script>
diff --git a/webpack.config.js b/webpack.config.js
index e5662afcfc..0b2c2ba29a 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -96,11 +96,6 @@ var config = {
}
]
},
- optimization: {
- splitChunks: {
- chunks: 'all'
- }
- },
plugins: [
bundleTrackerPlugin,
extractTextPlugin,