Skip to content

Package Size is concerning. #45

@asharamseervi

Description

@asharamseervi

Is your feature request related to a problem? Please describe.

I have a limited understanding of packages, but I believe package size matters. While drafting this Unpacked Size is 11.8 MB while going through https://www.npmjs.com/package/freerasp-react-native?activeTab=code, I got to know, ios directory itself is about 11.2 MB while I plan to protect Android app.

Describe the solution you'd like
As per my limited understanding, for a npm package lib and other root files like package, readme, licence, src required until and unless some native android or ios specific functions is desired. Most of the package is already covered in the lib directory, which is required to be extended by app developers.

Removing and adding example, android and ios in .npmignore will remove these directories for npm directory and significantly improve the app size.

Additional context
Please correct me if I am wrong. For a package or app, every KB matters.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions