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

Feature/embroider #1894

Draft
wants to merge 5 commits into
base: development
Choose a base branch
from
Draft

Feature/embroider #1894

wants to merge 5 commits into from

Conversation

sergiofenoll
Copy link
Member

Enable Embroider build in Kaleidos, which using its static analysis lowers our bundle/assets/frontend-kaleidos.js size by 4MB (from 20.8MB to 16.8MB)

Doesn't need to be merged, was more of a try to see how hard it'd be to convert Kaleidos to using Embroider (seemingly not very hard at all).

This lowers the assets/frontend-kaleidos.js size from 20.8MB to 19.7MB
This lowers the bundle size to 16.8MB, a reduction of 4MB from the original.
This doesn't seem to benefit us right now, presumably because none of
our routes can be lazily loaded? But it doesn't throw any new
warnings/errors and it might be useful in the future.
@sergiofenoll sergiofenoll marked this pull request as draft September 25, 2023 11:29
@ValenberghsSven
Copy link
Contributor

Updated it. Unsure if the rdfa editor personal commit was needed for some dependency fix or custom styling
We'll let jenkins and woodpecker do some work

@ValenberghsSven
Copy link
Contributor

Woodpecker is not picking up this PR.

@sergiofenoll
Copy link
Member Author

Updated it. Unsure if the rdfa editor personal commit was needed for some dependency fix or custom styling We'll let jenkins and woodpecker do some work

The editor version we were using at the time didn't support Embroider builds, but any newer version should. The bump in this PR is probably unnecessary.

Woodpecker is not picking up this PR.

Not sure why, will have a look.

@ValenberghsSven
Copy link
Contributor

The rdfa editor will be the prosemirror fix + the list styling. Might have to put this on hold until we can bump the rdfa editor first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants