Skip to content

Commit f15be9e

Browse files
filipesilvakieronqtran
authored andcommitted
feat(build): add gzip to serve --prod
Fix angular#2028 Close angular#2621
1 parent db131a9 commit f15be9e

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)