debundle icon indicating copy to clipboard operation
debundle copied to clipboard

fix name conflict issue

Open springrider opened this issue 6 years ago • 0 comments

I am not sure the reason of this, but while using debundle, all the modules name are resolved as "index.js" as:

 * 40 => index
* Reconstructing require path for module 41...
* 41 => index
* Reconstructing require path for module 42...
* 42 => index
* Reconstructing require path for module 43...
* 43 => index
* Reconstructing require path for module 44...
* 44 => index
* Reconstructing require path for module 45...
* 45 => index
* Reconstructing require path for module 46...
* 46 => index
* Reconstructing require path for module 47...
* 47 => index
* Reconstructing require path for module 48...

then we only have one "index.js" file been overwritten again and again. append an id after it solves the problem.

springrider avatar Dec 02 '19 06:12 springrider