nextcloud / nextcloud/server

core-common.js bundle size

Open
#36,384 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop feature: files performance 🚀 technical debt
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

After #36383 there is still 10 MB left:

Screenshot 2023-01-26 at 14 11 17

  • emoji-mart-vue-fast is included twice
  • @nextcloud/password-confirmation seems quite large
  • @nextcloud/dialogs loads both index.es.js and index.js
    • needs a bump to 4.0.0
      • release 4.0.0 stable
      • @nextcloud/vuestill depends on the old one -> needs a bump to 4
      • nextcloud-vue-collections still depends on the old one -> needs a bump to 4, probably needs larger upgrade as also vue components are outdated

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the core-common.js bundle and the dependency notes in this issue. Inspect how emoji-mart-vue-fast, @nextcloud/password-confirmation, @nextcloud/dialogs, @nextcloud/vue, and nextcloud-vue-collections enter the bundle, then compare bundle measurements before and after dependency changes. Done means the listed duplicate and outdated dependency inclusions are resolved and the size reduction is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.