Skip to content

[stable34] chore/smaller bundles#5673

Merged
max-nextcloud merged 3 commits into
stable34from
backport/5671/stable34
May 21, 2026
Merged

[stable34] chore/smaller bundles#5673
max-nextcloud merged 3 commits into
stable34from
backport/5671/stable34

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 605fdfc into stable34 May 21, 2026
48 checks passed
@max-nextcloud max-nextcloud deleted the backport/5671/stable34 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