leongersen / noUiSlider

noUiSlider is a lightweight, ARIA-accessible JavaScript range slider with multi-touch and keyboard support. It is fully GPU animated: no reflows, so it is fast; even on older devices. It also fits wonderfully in responsive designs and has no dependencies.
https://refreshless.com/nouislider/
MIT License
5.64k stars 658 forks source link

Add module path to package.json #1248

Closed mdorda closed 1 year ago

mdorda commented 1 year ago

Fixes https://github.com/leongersen/noUiSlider/issues/1247

leongersen commented 1 year ago

Thanks for your clear explanation and PR. Would this be a breaking change for anyone?

mdorda commented 1 year ago

It should not be a breaking change in a case it is used correctly. Almost all packages has "main" and "module" definitions in package.json. It is a best practise.

leongersen commented 1 year ago

Thank you!