September 2017
Intermediate to advanced
450 pages
11h 24m
English
Let's perform the following steps to add image resizing and compression to the blog post cover images loaded by our Angular application:
...const ImageminPlugin = require('imagemin-webpack-plugin').default;...module.exports = { ... "plugins": [ ... new ImageminPlugin({ "test": /\.(png|jpe?g)(\?.*)?$/, "pngquant": { "quality": "50" } }) ...
Read now
Unlock full access