Replies: 1 comment
-
Okay I'm dumb, sorry about that, it was in the docs. It doesn't work from Cloudflare's CDN but it works from Jsdelivr https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.mjs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since 10.0 release when ESM browser module was deprecated the MJS bundles stopped functioning from Cloudflare's CDN https://cdnjs.com/libraries/Swiper/11.0.0-beta.1
Importing from: https://cdnjs.cloudflare.com/ajax/libs/Swiper/11.0.0-beta.1/swiper-bundle.mjs
Causes error such that it gives 404 for these sub modules: https://cdnjs.cloudflare.com/ajax/libs/Swiper/11.0.0-beta.1/modules/mousewheel.mjs
There might be issue in CDNJS or some bundling problem in Swiper. Now I'm looking for a another CDN that works with latest Swiper.
Beta Was this translation helpful? Give feedback.
All reactions