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

Large bundle size #279

Closed
4 of 5 tasks
obulat opened this issue Jan 5, 2021 · 3 comments · Fixed by #311
Closed
4 of 5 tasks

Large bundle size #279

obulat opened this issue Jan 5, 2021 · 3 comments · Fixed by #311
Assignees
Labels
💻 aspect: code Concerns the software code in the repository dependencies Pull requests that update a dependency file 🛠 goal: fix Bug fix ✨ goal: improvement Improvement to an existing feature 🟧 priority: high Stalls work on the project or its dependents 🔒 staff only Restricted to CC staff members 🏷 status: label work required Needs proper labelling before it can be worked on

Comments

@obulat
Copy link
Contributor

obulat commented Jan 5, 2021

Description

Currently, the Chooser's bundle size is quite large for a single page.

Reproduction

  1. Run npm run build in the Chooser, or generate Lighthouse report in Google Chrome.
  2. See problem.

These are webpack build warnings:

  File                                Size          Gzipped
  dist\js\chunk-vendors.59d80c80.js   695.35 KiB    200.24 KiB
  dist\js\app.02a91d51.js             107.03 KiB     34.23 KiB
  dist\css\app.79796147.css           218.88 KiB     32.01 KiB

And here is a part of the Lighthouse report:
image

Possible steps to take:

  • Remove some third-party libraries, or replace them with lighter versions. Some of the libraries we should consider are:

  • sentry

  • buefy

  • markdown-it

  • Purge unused CSS using purge-css library.

Resolution

  • I would be interested in resolving this bug.
@obulat obulat added dependencies Pull requests that update a dependency file 🟧 priority: high Stalls work on the project or its dependents ✨ goal: improvement Improvement to an existing feature 🛠 goal: fix Bug fix 💻 aspect: code Concerns the software code in the repository labels Jan 5, 2021
@obulat obulat self-assigned this Jan 5, 2021
@cc-open-source-bot cc-open-source-bot added the 🏷 status: label work required Needs proper labelling before it can be worked on label Jan 6, 2021
@koolgax99
Copy link

can you please assign me this issue @obulat

@cc-open-source-bot cc-open-source-bot removed the 🏷 status: label work required Needs proper labelling before it can be worked on label Jan 7, 2021
@obulat obulat added the 🔒 staff only Restricted to CC staff members label Jan 7, 2021
@obulat
Copy link
Contributor Author

obulat commented Jan 7, 2021

Sorry, @koolgax99 , I am already working on this.

@koolgax99
Copy link

Okay @obulat. Can you assign me some issues and help me in understanding the codebase?

@cc-open-source-bot cc-open-source-bot added 🏷 status: label work required Needs proper labelling before it can be worked on and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Jan 8, 2021
@cc-open-source-bot cc-open-source-bot added 🏷 status: label work required Needs proper labelling before it can be worked on and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Jan 13, 2021
@cc-open-source-bot cc-open-source-bot added 🏷 status: label work required Needs proper labelling before it can be worked on and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Jan 19, 2021
@cc-open-source-bot cc-open-source-bot added 🏷 status: label work required Needs proper labelling before it can be worked on and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Jan 25, 2021
@cc-open-source-bot cc-open-source-bot added 🏷 status: label work required Needs proper labelling before it can be worked on and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository dependencies Pull requests that update a dependency file 🛠 goal: fix Bug fix ✨ goal: improvement Improvement to an existing feature 🟧 priority: high Stalls work on the project or its dependents 🔒 staff only Restricted to CC staff members 🏷 status: label work required Needs proper labelling before it can be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants