danvk / source-map-explorer

Analyze and debug space usage through source maps
Apache License 2.0
3.83k stars 101 forks source link

Broken bundle selection on Windows environments #143

Closed nikolay-borzov closed 4 years ago

nikolay-borzov commented 4 years ago

Description It's impossible to select a bundle with name containing \ (HTML file generated on Windows)

Steps to reproduce

  1. Run source-map-explorer for multiple bundles with filename containing path separator
    source-map-explorer tests\data\*.*
  2. Try to select a bundle
  3. Observe an error in the console

Files to reproduce Work on any bundles that produce filename containing Windows path separator

Expected behavior A bundle should be selected and tee map updated

Environment

Additional context It used to work, but has been broken by recent changes