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(headless,bueno): externalize all packages on node outputs #4921

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

louis-bompart
Copy link
Collaborator

fixes #4883

@louis-bompart louis-bompart requested a review from a team as a code owner January 31, 2025 20:34
@louis-bompart louis-bompart changed the title naive attempt chore(headless,bueno): externalize all packages on node outputs Jan 31, 2025
@louis-bompart louis-bompart marked this pull request as draft January 31, 2025 20:36
Copy link

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

@louis-bompart
Copy link
Collaborator Author

Todo:

  • creates dedicated cdn dist folder/target (that is not used by NPM at all)
  • fold browser exports path onto node exports path.
    • update entrypoint documentation.

Blocked by:

  • replace @microsoft/fetch-event-source
  • amend exponential-backoff so that it either includes its sources, or use inline-source-map
    • check what other "big" packages do.

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.

[Bug]: Source Map Errors from Headless Dependencies
1 participant