Skip to content

The code size is larger than 1mb, which is larger than the allowed size for viewer event in cloudFront #50

@dyennamdh

Description

@dyennamdh

Hi,
The code size is larger than 1mb. which is larger than he allowed size for viewer event in cloudFront.
I followed some of the steps outlined in issue 47 which reduced the size a little bit but not enough. As in, i deleted all the *.d.ts, *.txt, licese which got it to 1.1mb but still need to reduce the size even more.

The deployment works when we use SAM to deploy. But when i try to manually zip up the build directory, the size is larger than expected.

Any suggestion to get over this issue?

Regards,
Dheeraj

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions