Closed danvk closed 5 years ago
I got quite confused when I tried to run:
$ source-map-explorer *.js Usage: source-map-explorer <script.js> [<script.js.map>] source-map-explorer [--json | --html | --tsv] [-m | --only-mapped] <script.js> [<script.js.map>] [--replace=BEFORE --with=AFTER]... [--noroot] source-map-explorer -h | --help | --version
in a directory with 4 bundles. It just shows the usage.
The solution was to run with '*.js' (quoted):
'*.js'
$ source-map-explorer '*.js'
These should do the same thing.
Have you tried source-map-explorer *.js on Unix system?
source-map-explorer *.js
Here is how source-map-explorer './testdata/*.*' is parsed on windows:
source-map-explorer './testdata/*.*'
'<script.js>': '\'./testdata/*.*\''
Perhaps we should try another argument parser?
Addess https://github.com/danvk/source-map-explorer/issues/106
I got quite confused when I tried to run:
in a directory with 4 bundles. It just shows the usage.
The solution was to run with
'*.js'
(quoted):These should do the same thing.