From a8b9aac407cc974d63819510f3da4b4748f65bf0 Mon Sep 17 00:00:00 2001 From: Kristofer Karlsson Date: Mon, 28 Nov 2016 11:37:17 +0100 Subject: [PATCH] Missing css in CompressionPlugin --- packages/angular-cli/models/webpack-build-production.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }),