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

chore(atomic): bundle lit dependencies for CDN build #4908

Merged
merged 5 commits into from
Jan 30, 2025
Merged

Conversation

fpbrault
Copy link
Contributor

@fpbrault fpbrault commented Jan 28, 2025

This PR adds a bundling step (with rollup) in the atomic build process. This step only runs for the CDN build, and ensures that dependencies for lit components get bundled in the dist folder.

Since this PR does not contain a lit component, you can take a look at #4893 as an example.

https://coveord.atlassian.net/browse/KIT-3906

Copy link

github-actions bot commented Jan 28, 2025

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

Live demo links

Bundle Size

File Old (kb) New (kb) Change (%)
case-assist 243.9 243.9 0
commerce 355.2 355.2 0
search 415.1 415.1 0
insight 406.3 406.3 0
recommendation 256.2 256.2 0
ssr 409 409 0
ssr-commerce 373 373 0

SSR Progress

Use case SSR (#) CSR (#) Progress (%)
search 39 44 89
recommendation 0 4 0
case-assist 0 6 0
insight 0 27 0
commerce 0 15 0
Detailed logs search : buildInteractiveResult
search : buildInteractiveInstantResult
search : buildInteractiveRecentResult
search : buildInteractiveCitation
search : buildGeneratedAnswer
recommendation : missing SSR support
case-assist : missing SSR support
insight : missing SSR support
commerce : missing SSR support

@fpbrault fpbrault marked this pull request as ready for review January 28, 2025 19:00
@fpbrault fpbrault requested a review from a team as a code owner January 28, 2025 19:00
packages/atomic/scripts/start-dev.mjs Outdated Show resolved Hide resolved
packages/atomic/rollup.config.js Outdated Show resolved Hide resolved
packages/atomic/rollup.config.js Outdated Show resolved Hide resolved
@fpbrault fpbrault added this pull request to the merge queue Jan 30, 2025
Merged via the queue into master with commit 87681ca Jan 30, 2025
124 checks passed
@fpbrault fpbrault deleted the KIT-3906 branch January 30, 2025 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants