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

[hashed-folder-copy-plugin] Fix an issue where globbing assets from a NPM package would fail on Windows. #4412

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

iclanton
Copy link
Member

Summary

Fix an issue where globbing assets from a NPM package would fail on Windows.

Details

We used path.posix.resolve, which doesn't give a valid result if the second argument is a fully-qualified Windows path.

How it was tested

Added a test in the hashed-folder-copy-plugin-webpack5-test project.

Impacted documentation

None.

@iclanton iclanton merged commit c8947d3 into microsoft:main Oct 30, 2023
5 checks passed
@octogonz octogonz changed the title Fix an issue where globbing assets from a NPM package would fail on Windows. [hashed-folder-copy-plugin] Fix an issue where globbing assets from a NPM package would fail on Windows. Nov 10, 2023
@iclanton iclanton deleted the fix-windows-issue branch November 15, 2023 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants