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

dist/scripts/app.js is 783K #23

Open
RacingTadpole opened this issue Feb 13, 2015 · 1 comment
Open

dist/scripts/app.js is 783K #23

RacingTadpole opened this issue Feb 13, 2015 · 1 comment

Comments

@RacingTadpole
Copy link

Hi,

Thanks for packaging this all up, it looks great. I have a question about how to use it. Out of the box, without the coffeescript and jade options, once I run gulp build, the compiled app.js file is 783K. Uglified, it is 468K. It also includes references to paths on my local machine, eg. {"./ui/Timer":"/Users/..."}.

How do I make it leaner? I know that react.js itself is much smaller, so I was expecting a file about that size.

Sorry if I am using this wrong, I am a newcomer to many of the tools involved (eg. yeoman and gulp).

@randylien
Copy link
Owner

Please try 0.21 and it will help yo to do uglify and strip debug task to remove some console.log messages. It will make it becoming smaller.
In this case, the app.js is only 188k.

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