September 2017
Intermediate to advanced
450 pages
11h 24m
English
Let's perform the following steps to add gzip compression to our Angular static resources:
ng build -prod
...const CompressionPlugin = require("compression-webpack-plugin");...module.exports = { ... "plugins": [ ... new CompressionPlugin({ asset: "[path].gz[query]", algorithm: "gzip" ...
Read now
Unlock full access