Analyse also dependencies bundle (#6438)

The current `analyze` script only analises the `/src` code. This change leverages new version of `source-map-explorer` that is able to analyse multiple bundles at once, including the  3rd party dependencies bundle which is in my opinion even more important to analyze.
This commit is contained in:
Martin Litvaj
2019-02-21 15:50:21 +01:00
committed by Ian Schmitz
parent 6c8e2e53c5
commit 01ecfc1337

View File

@@ -24,7 +24,7 @@ Then in `package.json`, add the following line to `scripts`:
```diff
"scripts": {
+ "analyze": "source-map-explorer build/static/js/main.*",
+ "analyze": "source-map-explorer 'build/static/js/*.js'",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",