8000 feat(build): add gzip to serve --prod · codershop/angular-cli@9410e5a · GitHub
[go: up one dir, main page]

Skip to content

Commit 9410e5a

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)
0