simeydotme / svelte-range-slider-pips

Multi-Thumb, Accessible, Beautiful Range Slider with Pips
https://simeydotme.github.io/svelte-range-slider-pips/
Mozilla Public License 2.0
452 stars 42 forks source link

Issue while running npm run build #32

Closed Abhi-ak closed 3 years ago

Abhi-ak commented 3 years ago

Error Shown

Name expected [../node_modules/svelte-range-slider-pips/dist/svelte-range-slider-pips.mjs:22,0]

This is the import i used in my component: import RangeSlider from "svelte-range-slider-pips";

What is the reason for this error and how to fix this ?

Abhi-ak commented 3 years ago

@simeydotme

simeydotme commented 3 years ago

Are you building a Svelte application, or something else (like React, or Vue, or some non-component VanillaJS application)?

Abhi-ak commented 3 years ago

hi @simeydotme fixed this by loading the package using cdn

simeydotme commented 3 years ago

may you share the before & after, plus your steps to resolve, for anyone else who suffer the same issue? :)