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

How to deal with large browserified bundles? #76

Open
fergiemcdowall opened this issue Sep 21, 2016 · 5 comments
Open

How to deal with large browserified bundles? #76

fergiemcdowall opened this issue Sep 21, 2016 · 5 comments

Comments

@fergiemcdowall
Copy link

Where do you begin when you want to analyse and fix bundles that are too large? What steps would you carry out to see what is taking up the most room in a broswerified bundle?

@emilbayes
Copy link
Member

You might have luck trying https://www.npmjs.com/package/disc
Note that it doesn't support ES6 last time I used it

@fergiemcdowall
Copy link
Author

Disc is cool. Is there a command line tool that does something similar?

@emilbayes
Copy link
Member

disc is a cli tool, but you mean one that doesn't show a web interface?

@fergiemcdowall
Copy link
Author

Yes, I would ideally like a tool that can be invoked and parsed on the command line

@emilbayes
Copy link
Member

It doesn't seem too hard to rip out of disc if you wanted to: https://github.com/hughsk/disc/blob/master/index.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants