Skip to content

Commit 9410e5a

Browse files
filipesilvaBrocco
authored andcommitted
feat(build): add gzip to serve --prod
Fix #2028 Close #2621
1 parent 3b9b632 commit 9410e5a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
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)