webpack-bundle-analyzer react 1

webpack-bundle-analyzer react

"report": "npm run build --withReport true"

Here is what the above code is Doing:
1. We are creating a new object called scripts.
2. We are adding a new property called build to the scripts object.
3. We are setting the value of the build property to the command npm run build.
4. We are adding a new property called report to the scripts object.
5. We are setting the value of the report property to the command npm run build –withReport true.

Similar Posts