Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import AWS.Firehose, not of all of aws-sdk #24476

Merged
merged 1 commit into from Aug 28, 2018
Merged

Import AWS.Firehose, not of all of aws-sdk #24476

merged 1 commit into from Aug 28, 2018

Conversation

balderdash
Copy link
Contributor

aws-sdk is the single largest part of our code-studio-common bundle, even though we only use it for logging data to firehose:
image

This PR changes the way we import AWS.Firehose to only bring in the relevant parts, eliminating a bunch of unused library code:
image

Tested this change locally (overriding the check that disables firehose logging in dev environments).

@balderdash balderdash requested a review from Hamms August 24, 2018 23:40
@balderdash
Copy link
Contributor Author

@Hamms
Copy link
Contributor

Hamms commented Aug 27, 2018

Can you document what you used to generate those size audits somewhere?

I wonder if would be possible to add something like that to our CI tests; I'd love to get notified if a PR of mine has a significant impact on the bundle size.

@balderdash
Copy link
Contributor Author

Documentation added in #24504

@balderdash balderdash merged commit 6e0a23a into staging Aug 28, 2018
@balderdash balderdash deleted the aws-import branch September 18, 2018 05:24
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.

None yet

2 participants