Skip to content
This repository was archived by the owner on Jul 21, 2022. It is now read-only.

Commit 48c1ea7

Browse files
filipesilvaBrocco
authored andcommitted
feat(build): add gzip to serve --prod
Fix angular#2028 Close angular#2621
1 parent 6ec1d97 commit 48c1ea7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/angular-cli/tasks/serve-webpack.ts

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export default Task.extend({
6363
stats: webpackDevServerOutputOptions,
6464
inline: true,
6565
proxy: proxyConfig,
66+
compress: commandOptions.target === 'production',
6667
watchOptions: {
6768
poll: CliConfig.fromProject().config.defaults.poll
6869
}

0 commit comments

Comments
 (0)