diff --git a/internals/webpack/webpack.config.base.js b/internals/webpack/webpack.config.base.js index 5fde980..b044933 100644 --- a/internals/webpack/webpack.config.base.js +++ b/internals/webpack/webpack.config.base.js @@ -123,11 +123,18 @@ module.exports = (options) => ({ interlaced: false }, optipng: { - optimizationLevel: 7 + enabled: false + // NOTE: optipng is disabled as it causes errors in some Mac M1 & M2 environments + // Try enabling it in your environment by switching the config to: + // enabled: true, + // optimizationLevel: 7 }, pngquant: { quality: [0.65, 0.9], speed: 4 + }, + webp: { + quality: 75 } } }