Skip to content

[stable33] chore/smaller bundles#5674

Merged
max-nextcloud merged 3 commits into
stable33from
backport/5671/stable33
May 21, 2026
Merged

[stable33] chore/smaller bundles#5674
max-nextcloud merged 3 commits into
stable33from
backport/5671/stable33

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 20, 2026

Backport of PR #5671

This allows us to use async imports

Signed-off-by: Max <max@nextcloud.com>
`buildInCode` is imported from `viewer.js`
which is loaded in a lot of places.

So let us keep it small (100k instead of 700k).

Signed-off-by: Max <max@nextcloud.com>
The corresponding chunks are much smaller than NcRichText.

Reduces `references` file size from 1M to < 500k.

Signed-off-by: Max <max@nextcloud.com>
@backportbot backportbot Bot requested review from elzody and juliusknorr as code owners May 20, 2026 12:35
@backportbot backportbot Bot requested a review from max-nextcloud May 20, 2026 12:35
@backportbot backportbot Bot added enhancement New feature or request 3. to review Ready to be reviewed performance 🚀 labels May 20, 2026
@max-nextcloud max-nextcloud merged commit 845194a into stable33 May 21, 2026
44 of 45 checks passed
@max-nextcloud max-nextcloud deleted the backport/5671/stable33 branch May 21, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Ready to be reviewed enhancement New feature or request performance 🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant