Closed ivasilov closed 4 years ago
As discussed in https://github.com/Urthen/case-sensitive-paths-webpack-plugin/issues/46, this is the first of PRs to improve speed.
This PR only changes the use of object as a map to a JS Map. Map was added in NodeJS 0.12, so no major breakages.
Changes like these make me also want to implement some sort of timing testing. I'll try and look into some of that, as most of the recent issues have been about how long this plugin takes to work.
As discussed in https://github.com/Urthen/case-sensitive-paths-webpack-plugin/issues/46, this is the first of PRs to improve speed.
This PR only changes the use of object as a map to a JS Map. Map was added in NodeJS 0.12, so no major breakages.