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

Fix ignored resource in backend bundling #12681

Merged
merged 2 commits into from
Jul 5, 2023
Merged

Conversation

msujew
Copy link
Member

@msujew msujew commented Jul 5, 2023

What it does

Closes #12680

Related to an issue we've also encountered in Theia Blueprint, eclipse-theia/theia-ide#275.

For some reason, webpack finds a direct reference between @vscode/proxy-agent and @vscode/windows-ca-certs/build/Release/crypt32.node in some adopter projects - even though there is none. This change ensures that the dependency is correctly skipped on non-Windows systems, as the dependency is only installed/needed on Windows.

Also removes a few unnecessary yarn rebuild calls.

How to test

Confirm that the set of ignoredResources is the same as in the blueprint PR eclipse-theia/theia-ide#275.

Review checklist

Reminder for reviewers

Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@msujew msujew merged commit cb1ccfc into master Jul 5, 2023
@msujew msujew deleted the msujew/fix-backend-bundling branch July 5, 2023 13:35
@github-actions github-actions bot added this to the 1.40.0 milestone Jul 5, 2023
@msujew msujew added the bundle Related to webpack bundling label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bundle Related to webpack bundling
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Build command failing to build the bundle
3 participants