danvk / source-map-explorer

Analyze and debug space usage through source maps
Apache License 2.0
3.82k stars 100 forks source link

Path with quotes throws error on Windows #106

Closed dherault closed 5 years ago

dherault commented 5 years ago

Hi,

On windows, this command: source-map-explorer 'build/static/js/*.js' throws an error whereas this command source-map-explorer build/static/js/*.js does not and works properly.

image

nikolay-borzov commented 5 years ago

Duplicate of https://github.com/danvk/source-map-explorer/issues/84

dherault commented 5 years ago

Not a duplicate: I'm reporting an error, #84 does not.

dherault commented 5 years ago

I confirm this bug happens only on windows.

nikolay-borzov commented 5 years ago

Okay

nikolay-borzov commented 5 years ago

Why do you use single quotes on windows? Why not double quotes?

dherault commented 5 years ago

Because create-react-app told me to do so: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size Also because package.json already uses the double quotes.