willmcpo / body-scroll-lock

Body scroll locking that just works with everything 😏
MIT License
4.04k stars 337 forks source link

pkg.module JS code is not transpiled or minified #171

Closed Modestas0 closed 4 years ago

Modestas0 commented 4 years ago

According to Rollup docs JS file provided in "module" property of package.json should contain transpiled version of the library with ES2015 imports and exports. I do not think that this property should be used for providing ES6 version of the library.

https://github.com/rollup/rollup/wiki/pkg.module#wait-it-just-means-import-and-export--not-other-future-javascript-features

Newest version of the library does not work in IE as reported in #164.

This would prevent some users from using newest version of the library. Are you planning to leave it this way? Maybe it should be documented in README file then?