Closed lbianfa closed 3 months ago
The package is wrongly made https://publint.dev/@splidejs/react-splide@0.7.12
The ESM exports are being treated as CJS. You may be able to get it working through some of the settings described here: https://vitejs.dev/guide/dep-pre-bundling.html#customizing-the-behavior
Have you solved this issue? Because I'm getting the exact same problem
+1 It's annoying, we can't use ES module in Vue Component???
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I am trying to implement @splidejs/react-splide in my Astro project, in the following component.
But I am getting the following error.
What's the expected result?
"The successful compilation of the dependency.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-38yfim?file=src%2Fcomponents%2FSplideTest.jsx
Participation