Skip to content

Don't include compiled dist and create seperate package for react native #1748

@kevinsimper

Description

@kevinsimper

I am using the aws-sdk in my aws lambda functions and right now the biggest file in my bundle is the

3.2 MB node_modules/aws-sdk/dist/aws-sdk-react-native.js
3.1 MB node_modules/aws-sdk/dist/aws-sdk.js

those two files i 50% of my bundled zip

I think it would help a lot on many people bundle sizes if the aws-sdk did not include the precompile bundles and did not also include the one for the react-native project.

I can bundle my project to avoid the whole node_modules folder but that is something only for advance users and even complicated with native modules like fs and net which requires special config.

I hope it makes sense and thanks for the awesome sdk!

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.needs-major-versionCan only be considered for the next major release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions