Skip to content

Commit

Permalink
feat(build): add gzip to serve --prod
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva committed Oct 10, 2016
1 parent a66c8cc commit a81bc49
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 @@ -59,6 +59,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 a81bc49

Please sign in to comment.