-
|
Reproduction: https://stackblitz.com/edit/github-tuaskywc To me it looks like there are two copies of react: on in deps_ssr/chunk-S4QPGXQK.js and swiper-react.mjs loads Can someone guide me what could be the problem here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
This is same as #684 (comment). The package |
Beta Was this translation helpful? Give feedback.
This is same as #684 (comment). The package
swiperdoesn't specifyreactin itsdependencies/peerDependencies, soreactversion is inherently ambiguous.On Vite RSC plugin, this can be workarounded by adding
noExternal: ['swiper']like https://stackblitz.com/edit/github-tuaskywc-r6idvqqa?file=vite.config.ts