-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[plugin] Fix bug related to path separator on Windows
While debugging on Windows, I found that (atleast on Windows 11), the path separator was `/` instead of the expected `\` resulting in some files being skipped from being transformed from the `node_modules`. So the fix first normalizes the path first as per the platform and then checks for the `transformLibraries`'s presence in the normalized path.
- Loading branch information
1 parent
5499c64
commit 7b67221
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters