Skip to content

Commit 457a6e0

Browse files
grizzm0hansl
authored andcommitted
Missing css in CompressionPlugin (#3300)
1 parent 51869fb commit 457a6e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular-cli/models/webpack-build-production.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const getWebpackProdConfigPartial = function(projectRoot: string,
6666
new CompressionPlugin({
6767
asset: '[path].gz[query]',
6868
algorithm: 'gzip',
69-
test: /\.js$|\.html$/,
69+
test: /\.js$|\.html$|\.css$/,
7070
threshold: 10240,
7171
minRatio: 0.8
7272
}),

0 commit comments

Comments
 (0)