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

Set up bundle size analysis and start to reduce bundle size #266

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chromium-52
Copy link
Member

Checklist

  • 1. Run npm run check
  • 2. Run npm run test
  • 3. Run npm build --if-present

Why

Resolves N/A

This PR

Set up webpack-bundle-analyzer to allow for analysis of the frontend's bundle size
Fix imports for lodash, ant-design/icons, and antd functions and components to reduce bundle size from 1.78 MB to 1.46 MB (which isn't that much but it's a start)

Screenshots

Bundle size comparison:

Before (~1.78 MB):
image

After (~1.46 MB):
image (1)

Verification Steps

N/A

@chromium-52 chromium-52 requested review from huang0h and removed request for huang0h September 11, 2023 15:25
@chromium-52
Copy link
Member Author

@huang0h will take a look at this PR a bit more 🤔

@chromium-52 chromium-52 marked this pull request as draft September 21, 2023 13:52
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.

1 participant