Skip to content

Commit

Permalink
Indicate that glob patterns is supported
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolay-borzov committed Jul 7, 2019
1 parent ca1be35 commit 388576c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -9,10 +9,11 @@ Install:

npm install -g source-map-explorer

Use:
Use (you can specify filenames or use [glob](https://github.com/isaacs/node-glob) pattern):

source-map-explorer bundle.min.js
source-map-explorer bundle.min.js bundle.min.js.map
source-map-explorer bundle.min.js*
source-map-explorer *.js

This will open up a visualization of how the space is used in your minified bundle:
Expand Down Expand Up @@ -225,4 +226,4 @@ source-map-explorer path/to/foo.min.js{,.map}
[string]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type "String"
[number]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type "Number"
[cli wiki]: https://github.com/danvk/source-map-explorer/wiki/CLI
[api wiki]: https://github.com/danvk/source-map-explorer/wiki/Node.js-API
[api wiki]: https://github.com/danvk/source-map-explorer/wiki/Node.js-API

0 comments on commit 388576c

Please sign in to comment.