Use browser modules loading in bs_slider_swiper

Created on 14 February 2025, about 2 months ago

Problem/Motivation

Swiper is great and implementation works nicely. The only problem is that Swiper is quite heavy, fully loaded it is 144kb.

From version 10, Swiper supports browser module loading. Browsers supports for browser module loading is quite good now (Can I use reports 96.94%) so we can start using this feature. Instead of loading all of Swiper JS we should split modules into libraries and load only what is enabled in current Swiper configuration.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇷🇸Serbia pivica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024