Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Conversation

@khelif96
Copy link
Collaborator

EVG-17465

Description

Since i am trying to avoid merge conflicts i tried to add as minimal code changes to this as possible but i have attached a video demonstrating react-virtualized being imported.

  • Adds source-map explorer tool
  • Add react-virtualized and its types
  • Implement treeshaking for react-virtualized
  • Perform manual dead code removal

esbuild and rollup which are used under the hood by vite do not perform dead code removal and react-virtualized has a bogus import so i added a vite plugin that handles manually removing the dead code.
See.
bvaughn/react-virtualized#1635
bvaughn/react-virtualized#1632

Screenshots

Screen.Recording.2022-08-24.at.11.45.46.AM.mov

Testing

Created a demo app with a virtualized list.

@khelif96 khelif96 requested a review from a team August 24, 2022 15:58
package.json Outdated
"react-dom": "18.2.0",
"react-router-dom": "6.3.0"
"react-router-dom": "6.3.0",
"react-virtualized": "^9.22.3"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it worth pinning this dependency?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Pinned for consistency

permissions: public-read
display_name: storybook_assets_map_

attach-source-map:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like this file is not getting uploaded exactly correctly (here)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I updated the content_type it should work now 🤞

@khelif96 khelif96 requested a review from sophstad August 25, 2022 19:10
@khelif96 khelif96 merged commit f0dda94 into evergreen-ci:main Aug 25, 2022
@khelif96 khelif96 deleted the EVG-17465 branch August 25, 2022 19:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants