-
Notifications
You must be signed in to change notification settings - Fork 61
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
reduce file size #177
Comments
maybe we can use something like meteor/meteor#8745 ? |
The library also seems to pull in meteor-node-stubs for me which adds another 300kb. |
@jlichti Just realised it is indeed this package that pulls in meteor-node-stubs, did you figure out why? Got the same bundle-size reduction as you when removing it, huge! |
I didn't dig into it since it was easy for me to just replace with a npm package. |
Which package did you use, and did it do any sort of automatic logging? |
I used this package: https://github.com/react-ga/react-ga I'm using flow router on this project so I added a trigger: And my logPageView() method is: |
Cross ref: meteor/node-stubs#6 |
with meteor 1.5. and the new bundle-analyizer you get a good picture of the bundle size.
This library is huge (166kb) and contributes to 10% of the file size. Is it possible to reduce file size? we only need google analytics.
okgrow:analytics version 2.1.1
The text was updated successfully, but these errors were encountered: