Skip to content

Commit

Permalink
Remove Windows note for source-map-explorer (facebook#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 JohnNilsson committed Sep 9, 2017
1 parent c8cb004 commit 028b5c5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/react-scripts/template/README.md
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 028b5c5

Please sign in to comment.