wnabil / ngx-export-as

Angular 2+ / Ionic 2+ HTML/table element to export it as JSON, XML, PNG, CSV, TXT, MS-Word, Ms-Excel, PDF
MIT License
68 stars 40 forks source link

production build size gets increased #57

Closed farhatzaman726 closed 4 years ago

farhatzaman726 commented 4 years ago

i am not sure why, but after installing and importing ngx-export-as in main module. my production build size increased from 1.3 to 1.5 mb. which is causing issues in initial loading of my app. i think loading of xlsx.js and other imports which you are you are using in this library causing for bundle size increase.

wnabil commented 4 years ago

If you want a minimal use of this feature then do not use the library as it does import 3 packages to manage multiple file types, instead do the implementation manually for the specific type you want. Check the implementation here if you needed any help