Webpack 4 compatibility - Error 'tapProcess' undefined
ericitbk opened this issue · 1 comments
ericitbk commented
- Operating System: masOS
- Node Version: v12.14.1
- NPM Version: 6.13.4
- webpack Version: webpack@4.43.0
- image-minimizer-webpack-plugin Version: 2.0.0
Expected Behavior
Actual Behavior
Code
const ImageMinimizerPlugin = require('image-minimizer-webpack-plugin');
plugins: [
new ImageMinimizerPlugin({
minimizerOptions: {
// Lossless optimization with custom option
// Feel free to experiment with options for better result for you
plugins: [
['gifsicle', { interlaced: true }],
['jpegtran', { progressive: true }],
['optipng', { optimizationLevel: 5 }],
[
'svgo',
{
plugins: [
{
removeViewBox: false,
},
],
},
],
],
},
}),
]
// additional code, HEY YO remove this block if you don't need it
How Do We Reproduce?
alexander-akait commented
Latest version of image-minimizer-webpack-plugin
supports only webpack@5, please consider to migrate