Skip to content

Commit 01ecfc1

Browse files
Kamahl19ianschmitz
authored andcommitted
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.
1 parent 6c8e2e5 commit 01ecfc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docusaurus/docs/analyzing-the-bundle-size.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Then in `package.json`, add the following line to `scripts`:
2424

2525
```diff
2626
"scripts": {
27-
+ "analyze": "source-map-explorer build/static/js/main.*",
27+
+ "analyze": "source-map-explorer 'build/static/js/*.js'",
2828
"start": "react-scripts start",
2929
"build": "react-scripts build",
3030
"test": "react-scripts test",

0 commit comments

Comments
 (0)