[X] Not a question, feature request, or anything other than a bug report directly related to Svelte Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
ERROR in ./node_modules/@splidejs/svelte-splide/components/Splide/Splide.svelte 574:9
Module parse failed: Unexpected token (574:9)
File was processed with these loaders:
* ./node_modules/@storybook/svelte/dist/cjs/server/svelte-docgen-loader.js
* ./node_modules/svelte-loader/index.js
You may need an additional loader to handle the result of these loaders.
|
| function go(control) {
> splide?.go(control);
| }
Reproduction Link
No response
Steps to Reproduce
Install current svelte-splide version
Install storybook
Run storybook pointing to component using svelte-splide (storybook is using Webpack 4)
Checks
Version
0.1.18
Description
Pretty much the exact same issue from react-splide but this is showing up when I run Storybook. https://github.com/Splidejs/react-splide/issues/30
Reproduction Link
No response
Steps to Reproduce
Expected Behaviour
Would not error.