Skip to content

Commit

Permalink
feat(build): add gzip to serve --prod
Browse files Browse the repository at this point in the history
Fix #2028
Close #2621
  • Loading branch information
filipesilva committed Oct 17, 2016
1 parent 9c2b2ca commit 7c13cc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/angular-cli/tasks/serve-webpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export default Task.extend({
stats: webpackDevServerOutputOptions,
inline: true,
proxy: proxyConfig,
compress: commandOptions.target === 'production',
watchOptions: {
poll: CliConfig.fromProject().config.defaults.poll
}
Expand Down

0 comments on commit 7c13cc5

Please sign in to comment.