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

bundle.js compression #613

Closed
ghost opened this issue Dec 21, 2016 · 4 comments
Closed

bundle.js compression #613

ghost opened this issue Dec 21, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 21, 2016

is it enabled by default? I'm getting like a 1mb bundle.js for an ampty project...

@KyleAMathews
Copy link
Contributor

KyleAMathews commented Dec 21, 2016 via email

@ghost
Copy link
Author

ghost commented Dec 21, 2016

production - gatsby build I have some dynamic components in my site and i need bundle.js in production - previously it was compressed if I remember it right.

@KyleAMathews
Copy link
Contributor

Compression is done by your server. Gatsby minifies your bundle.js. if you want to see the compressed size serve your site with gatsby serve-build.

@ghost
Copy link
Author

ghost commented Dec 21, 2016

got it, thanks!

This issue was closed.
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