@pernod-ricard-global-cms/jsutils 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsutils.mjs +1 -2
- package/package.json +1 -1
package/jsutils.mjs
CHANGED
|
@@ -232,8 +232,7 @@ export function footerIntersection(entries, element) {
|
|
|
232
232
|
* @returns {promise}
|
|
233
233
|
*/
|
|
234
234
|
export function getSwiperAssetsV2(options = { css: "bundle" }) {
|
|
235
|
-
const getSwiperJs = () =>
|
|
236
|
-
import(/* webpackChunkName: 'swiper' */ "swiper/swiper.esm");
|
|
235
|
+
const getSwiperJs = () => import(/* webpackChunkName: 'swiper' */ "swiper");
|
|
237
236
|
|
|
238
237
|
const promisedJs = Promise.all([getSwiperJs()]).then((values) => {
|
|
239
238
|
return values;
|