Open FezVrasta opened 3 years ago
I expect more details. Provide the list of files inside build/static/js/
This is the list of the files
I see a problem with .LICENSE.txt
file. For now, you need to use a glob that only matches .js
and .js.map
files.
The issue is noted
I'm sorry, isn't my glob already doing that?
Little update, I deleted the .txt file but I keep having the error.
Have you tried omitting single quotes?
source-map-explorer build/static/js/*.js
~/P/S/s/frontend ❯❯❯ source-map-explorer build/static/js/*.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
What terminal do you use? Try Git Bash
I'm using zsh, but I get the same output with bash
bash-3.2$ source-map-explorer build/static/js/*.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
Description When I run
source-map-explorer 'build/static/js/*.js'
I get the following error:Steps to reproduce
source-map-explorer 'build/static/js/*.js'
Files to reproduce I'm using a Create React App (v4) with Craco in order to enable Craco ITK plugin (craco-itk).
Expected behavior I would expect the tool to work.
Environment
Additional context
I'm not sure what the error is referring too, I don't see any documentation where it's explained what kind of files should the tool consume.