diff --git a/packages/angular-cli/models/webpack-build-production.ts b/packages/angular-cli/models/webpack-build-production.ts index 0d52a86a4678..f10bf592bc82 100644 --- a/packages/angular-cli/models/webpack-build-production.ts +++ b/packages/angular-cli/models/webpack-build-production.ts @@ -63,7 +63,7 @@ export const getWebpackProdConfigPartial = function(projectRoot: string, appConf new CompressionPlugin({ asset: '[path].gz[query]', algorithm: 'gzip', - test: /\.js$|\.html$/, + test: /\.js$|\.html$|\.css$/, threshold: 10240, minRatio: 0.8 }),