Skip to content

Commit

Permalink
Remove Windows note for source-map-explorer (#2719)
Browse files Browse the repository at this point in the history
Glob support has been added in source-map-explorer@1.4+
  • Loading branch information
hodanny authored and gaearon committed Jul 3, 2017
1 parent df00d80 commit 85a9bc8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1671,16 +1671,6 @@ Then in `package.json`, add the following line to `scripts`:
"test": "react-scripts test --env=jsdom",
```
>**Note:**
>
>This doesn't quite work on Windows because it doesn't automatically expand `*` in the filepath. For now, the workaround is to look at the full hashed filename in `build/static/js` (e.g. `main.89b7e95a.js`) and copy it into `package.json` when you're running the analyzer. For example:
>
>```diff
>+ "analyze": "source-map-explorer build/static/js/main.89b7e95a.js",
>```
>
>Unfortunately it will be different after every build. You can express support for fixing this on Windows [in this issue](https://github.com/danvk/source-map-explorer/issues/52).
Then to analyze the bundle run the production build then run the analyze
script.
Expand Down

0 comments on commit 85a9bc8

Please sign in to comment.