thebuilder / react-scroll-percentage

Monitor the scroll percentage of a component inside the viewport, using the IntersectionObserver API

Home Page:https://thebuilder.github.io/react-scroll-percentage/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm package does not contain /es folder

fgnass opened this issue · comments

The ES6 build is missing in both 1.0.0 and 1.0.1, rendering these versions unusable in a Webpack 2 setup. (Version 0.6.0 is the last published version that contains the /es folder.)

It looks as if the prepublish script wasn't executed at all. AFAIK prepublish is deprecated and has been replaced by prepare and prepublishOnly but I guess it should still work though? There is also a yarn-error.log in the published packages, but this also seems to be unrelated.

BTW, the same applies to react-intersection-observer – the /es folder is missing there too.

Hey @fgnass - I intentionally removed the /es folder, but i must have forgotten to remove it from package.json in this project. I'll update it! Thanks

Fixed in 1.0.2