Skip to content

Commit

Permalink
fix: optipng module issue on armx64
Browse files Browse the repository at this point in the history
  • Loading branch information
anasnadeemws committed Mar 6, 2024
1 parent 3bb5362 commit bf0fa37
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internals/webpack/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,11 @@ 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],
Expand Down

0 comments on commit bf0fa37

Please sign in to comment.