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

chore: upgrade rollup #1068

Merged
merged 11 commits into from Jul 22, 2021
Merged

Conversation

g1eny0ung
Copy link
Contributor

@g1eny0ung g1eny0ung commented Sep 27, 2020

Signed-off-by: Yue Yang g1enyy0ung@gmail.com

Overview

This PR upgrade the rollup configuration, below are the changes:

  • Upgrade rollup related deps
  • Remove namedExports because the commonjs plugin can resolve named exports automatically now
  • Replace rollup-plugin-babel to @rollup/plugin-babel. After my test, the bundling speed can be shortened by 2-3s

Screenshots (if applicable)

Documentation

  • Updated Typescript types and/or component PropTypes
  • Added / modified component docs
  • Added / modified Storybook stories

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
@stale
Copy link

stale bot commented Nov 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wont-fix label Nov 26, 2020
@g1eny0ung
Copy link
Contributor Author

@mshwery Hi is there any progress on this PR?

@stale stale bot removed the wont-fix label Nov 27, 2020
Copy link
Contributor

@mshwery mshwery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @g1eny0ung this looks good to me! Could you try running npx yarn-deduplicate && yarn install? It looks like there were enough lockfile changes that there might be some overlap across deps.

@akleiner2 mind taking a look at this?

@g1eny0ung
Copy link
Contributor Author

Hey @g1eny0ung this looks good to me! Could you try running npx yarn-deduplicate && yarn install? It looks like there were enough lockfile changes that there might be some overlap across deps.

@mshwery Already done. 😆

@stale
Copy link

stale bot commented Jun 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wont-fix label Jun 16, 2021
@stale stale bot removed the wont-fix label Jun 17, 2021
@netlify
Copy link

netlify bot commented Jun 17, 2021

✔️ Deploy Preview for evergreen-storybook ready!

🔨 Explore the source changes: 20fb1a0

🔍 Inspect the deploy log: https://app.netlify.com/sites/evergreen-storybook/deploys/60f7e70c0065e400083cf531

😎 Browse the preview: https://deploy-preview-1068--evergreen-storybook.netlify.app/

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
@g1eny0ung
Copy link
Contributor Author

@mshwery @akleiner2 The stalebot's comment made me notice that there are some conflicts in this PR. I already fix them. PTAL again.

@g1eny0ung g1eny0ung requested a review from mshwery June 23, 2021 07:57
@mshwery
Copy link
Contributor

mshwery commented Jul 14, 2021

Looks like this is failing on size-limit checks. I think we can bump slightly.

@g1eny0ung
Copy link
Contributor Author

@mshwery After resolving the conflict, I locally passed the size-limit check. Now CI also passed.

@mshwery
Copy link
Contributor

mshwery commented Jul 15, 2021

I compared the output (unminified) and it's significantly different in size than the previous output. Seeing an initial output of 1.6mb → 1.8mb

@mshwery
Copy link
Contributor

mshwery commented Jul 15, 2021

I would be ok merging this only because it's a tertiary output format (UMD) that isn't used by most folks, but would like more confidence in that build output size change.

@g1eny0ung
Copy link
Contributor Author

I compared the output (unminified) and it's significantly different in size than the previous output. Seeing an initial output of 1.6mb → 1.8mb

I tested it locally and it doesn't seem to change anything:

image

@g1eny0ung g1eny0ung requested a review from mshwery July 22, 2021 02:26
Copy link
Contributor

@mshwery mshwery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested again and you are correct! Not sure what was up with the last time I tested your PR.

@mshwery mshwery merged commit 8cb9e95 into segmentio:master Jul 22, 2021
@g1eny0ung g1eny0ung deleted the chore/upgrade-rollup branch July 22, 2021 03:16
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