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

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)