Urthen / case-sensitive-paths-webpack-plugin

Enforces case sensitive paths in Webpack requires.
MIT License
428 stars 45 forks source link

Add handling of escaped # in pathName #58

Closed gustaff-weldon closed 3 years ago

gustaff-weldon commented 3 years ago

Fixes #54

Following a suggestion from one of the commenters I have added replacing of Unicode escaped #. See: https://github.com/webpack/enhanced-resolve#escaping and https://github.com/webpack/enhanced-resolve/blob/master/lib/Resolver.js#L282

This solved my problem with the build.

In order to reliably fail the test without the fix, I had to update to the latest Webpack with the Resolver that does the escaping.

Urthen commented 3 years ago

LGTM, I merged manually as there were conflicts due to some other changes I made this morning. Will update once I release.