diff --git a/CHANGELOG.md b/CHANGELOG.md index 86a4b0550c..5f17f25c5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.11.2] - UNRELEASED +### Changed / Improved +- optimizations - improved prefetch strategy - @gibkigonzo (#4080) + ### Fixed - add disconnect and sync options for cart/clear - @gibkigonzo (#4062) - add '1' as searched value for 'is_user_defined' and 'is_visible' (createAttributesListQuery) - @gibkigonzo (#4075) diff --git a/core/build/webpack.client.config.ts b/core/build/webpack.client.config.ts index 7eb6814584..6a3d71fea1 100644 --- a/core/build/webpack.client.config.ts +++ b/core/build/webpack.client.config.ts @@ -9,7 +9,7 @@ const config = merge(base, { splitChunks: { cacheGroups: { commons: { - test: /[\\/]node_modules[\\/](vue|vuex|vue-router|vue-meta|vue-i18n|vuex-router-sync|localforage)[\\/]/, + test: /[\\/]node_modules[\\/](vue|vuex|vue-router|vue-meta|vue-i18n|vuex-router-sync|localforage|lean-he|vue-lazyload|js-sha3|dayjs|core-js|whatwg-fetch|vuelidate)[\\/]/, name: 'vendor', chunks: 'all' } diff --git a/src/themes/default/components/core/ProductGallery.vue b/src/themes/default/components/core/ProductGallery.vue index be9975b86c..cd928ea533 100644 --- a/src/themes/default/components/core/ProductGallery.vue +++ b/src/themes/default/components/core/ProductGallery.vue @@ -31,8 +31,7 @@ import onEscapePress from '@vue-storefront/core/mixins/onEscapePress' import NoSSR from 'vue-no-ssr' import ProductImage from './ProductImage' import { onlineHelper } from '@vue-storefront/core/helpers' - -const ProductGalleryCarousel = () => import(/* webpackChunkName: "vsf-product-gallery-carousel" */ './ProductGalleryCarousel.vue') +import ProductGalleryCarousel from './ProductGalleryCarousel.vue' export default { components: { diff --git a/src/themes/default/components/core/ProductGalleryOverlay.vue b/src/themes/default/components/core/ProductGalleryOverlay.vue index d43979f438..d6154f283d 100644 --- a/src/themes/default/components/core/ProductGalleryOverlay.vue +++ b/src/themes/default/components/core/ProductGalleryOverlay.vue @@ -16,7 +16,7 @@