I'm looking for a way to find all files that depend on a given JS file. My project is using ES6 modules and webpack. I had a look at node-dependency-tree but it is only doing the opposite: listing all files that a given file depends on.
My ultimate goal is to facilitate renaming/moving a file in a project by updating all files that import it.