Closed nikolay-borzov closed 5 years ago
In a Unix shell running
source-map-explorer testdata/*.js
will expand the glob in your shell and invoke the program with a variable number of arguments.
I didn't know that. It complicates things
In most shells a single quote means you don't want the filenames expanded, but if you use double quotes "*.js"
will expand. This seems like the better solution is to just use double quotes on whatever it is that's produce a command that has to be quoted. Maybe you're using quotes because the path contains spaces?
Okay what we need is:
a.js a.js.map b.js c.js c.js.map d.js
a.js a.js.map
*.js*
<script.js>
and<script.js.map>
paths. '\'./js/foo.min.js\'' => './js/foo.min.js'✋ I need someone who can test solution on unix system