-
Notifications
You must be signed in to change notification settings - Fork 12k
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
add webpack-dev-server gzip support #2028
Comments
@xpyanchong I am curious what your reason for needing gzip in a dev server since it is not the serve you would use in production. |
In production i used other webserver. |
True, I was just about to ask how can I serve a gzipped bundle to prod. I have tried adding |
I think this is more than a nice to have, especially considering how simple a change it is. I am often on slow connections with a remote |
Doesn't this defeat the purpose of a dev environment? Plus also, it is not recommended to use |
I agree that In my current app, patching |
Thanks for the commit. However, I believe combining it with I opt for making this a user configurable setting in |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
By default config,Use
ng serve -prod
,The bundle file too big.Before
After
Need Change
I think this issue is important,Others maybe think the quality of this project is poor.
File
addon/ng2/tasks/serve-webpack.ts
need add gzip support;In line 58 Insert
,compress:true
The text was updated successfully, but these errors were encountered: