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

investigate bundle.js size #26

Open
lindsayplatt opened this issue Sep 25, 2018 · 0 comments
Open

investigate bundle.js size #26

lindsayplatt opened this issue Sep 25, 2018 · 0 comments

Comments

@lindsayplatt
Copy link

Currently, bundle.js is 1MB. Seems really large for what should be in there. Also, some of this is already minified but I was under the impression that since we are executing webpack --mode development it would not minify anything. bundle.js seems to have a minified version of every single node module, not just the ones we need. We should fix that. It is probably due to this: https://github.com/USGS-VIZLAB/gage-conditions/blob/master/js/app.js#L2. We should require only the modules we need. This goes along with #7 and #9.

http://dev-owi.usgs.gov/vizlab/gage-conditions/js/bundle.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

1 participant