securedeveloper / react-data-export

Export dataset in react.
https://securedeveloper.github.io/react-data-export/
MIT License
179 stars 191 forks source link

Why does xlsx get installed into my package.json when installing this package #169

Open rwc0920 opened 2 years ago

rwc0920 commented 2 years ago

Like the title says, why does xlsx get installed into my package.json when installing this package? It's technically not even listed as a dependency of this package but it's required to be installed. It shows that tempa-xlsx is a dependency but doesn't show up in my package.json file when I download this. Can someone please explain this to me? I'm curious because it is significantly increasing the bundle size of my application.

LoganWalters commented 11 months ago

I believe that is because xlsx is listed as a dependency https://www.npmjs.com/package/react-data-export#dependencies image