Commit 85a9bc85 authored by Danny Ho's avatar Danny Ho Committed by Dan Abramov
Browse files

Remove Windows note for source-map-explorer (#2719)

Glob support has been added in source-map-explorer@1.4+
parent df00d807
Showing with 0 additions and 10 deletions
+0 -10
...@@ -1671,16 +1671,6 @@ Then in `package.json`, add the following line to `scripts`: ...@@ -1671,16 +1671,6 @@ Then in `package.json`, add the following line to `scripts`:
"test": "react-scripts test --env=jsdom", "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 Then to analyze the bundle run the production build then run the analyze
script. script.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment