ModClean / modclean

Remove unwanted files and directories from your node_modules folder
MIT License
400 stars 15 forks source link

safe pattern *.map causes removal of lodash.map package #10

Closed MikeKovarik closed 7 years ago

MikeKovarik commented 8 years ago

The whole lodash.map folder gets removed because of safe rule *.map. Maybe matching this rule against files only would help rather than removing the rule

KyleRoss commented 7 years ago

Changed the rule to *.js.map in safe patterns and added *.map to danger patterns in version 1.3.0. Thanks for reporting.