Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links to code splitting and project dependency analysis are broken #5617

Closed
sidsethupathi opened this issue Oct 29, 2018 · 3 comments
Closed

Comments

@sidsethupathi
Copy link

sidsethupathi commented Oct 29, 2018

Is this a bug report?

No, it is a documentation update.

The short links from the FileSizeReporter for code splitting and dependency analysis go to a README without the corresponding sections.

The bundle size is significantly larger than recommended.
Consider reducing it with code splitting: https://goo.gl/9VhYWB
You can also analyze the project dependencies: https://goo.gl/LeUzfb
@iansu
Copy link
Contributor

iansu commented Oct 29, 2018

Related: #5536

@franciscop-invast
Copy link

The previous recommended analyze command seems to be "broken" since it only shows the main size and not the new chunks of dependencies, which are normally the larger bits. Should this be modified? I have found a workaround so far for myself, but of course a generic solution would be better:

"analyze": "source-map-explorer build/static/js/main.*",
"analyze-deps": "find build/static/js/**.chunk.js | head -n 1 | xargs source-map-explorer"

@iansu
Copy link
Contributor

iansu commented Nov 15, 2018

I've created a PR to fix these links: #5808

@iansu iansu closed this as completed Nov 15, 2018
@lock lock bot locked and limited conversation to collaborators Jan 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants