Skip to content

Conversation

@eladb
Copy link
Contributor

@eladb eladb commented Nov 18, 2021

Delete the types field from assembly.json to reduce size. For example, for aws-cdk-lib, this reduces the size of the assembly from 33.1MiB to 1.1MiB.

This field is not being used by the client (API docs are generated in the backend).

Resolves cdklabs/construct-hub-webapp#691


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Elad Ben-Israel added 2 commits November 18, 2021 08:38
Delete the `types` field from `assembly.json` to reduce size. For example, for `aws-cdk-lib`, this reduces the size of the assembly from 33.1MiB to 1.1MiB.

This field is not being used by the client (API docs are generated in the backend).

Resolves cdklabs/construct-hub-webapp#691
@mergify mergify bot merged commit d792226 into main Nov 18, 2021
@mergify mergify bot deleted the eladb/reduce-assembly-size branch November 18, 2021 07:32
iliapolo pushed a commit that referenced this pull request Nov 18, 2021
Delete the `types` field from `assembly.json` to reduce size. For example, for `aws-cdk-lib`, this reduces the size of the assembly from 33.1MiB to 1.1MiB.

This field is not being used by the client (API docs are generated in the backend).

Resolves cdklabs/construct-hub-webapp#691

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
eladb pushed a commit that referenced this pull request Nov 18, 2021
As a follow up to #567, delete additional large fields from `assembly.json` that are not used by the client. Namely: `readme` and `dependencyClosure`.

Related to cdklabs/construct-hub-webapp#691
mergify bot pushed a commit that referenced this pull request Nov 18, 2021
As a follow up to #567, delete additional large fields from `assembly.json` that are not used by the client. Namely: `readme` and `dependencyClosure`.

Related to cdklabs/construct-hub-webapp#691


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

performance: aws-cdk-lib takes too long to load

2 participants