@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.
Files changed (2) hide show
  1. package/jsutils.mjs +1 -2
  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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pernod-ricard-global-cms/jsutils",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Handy collection of Javascript utility functions",
5
5
  "type": "commonjs",
6
6
  "main": "jsutils.mjs",