Skip to content

Commit

Permalink
Merge pull request #2044 from HJGreen/svgo-configuration
Browse files Browse the repository at this point in the history
Fix default SVG optimisation configuration
  • Loading branch information
retlehs authored Mar 19, 2018
2 parents ea76b61 + 0c11974 commit f2c47cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/assets/build/webpack.config.optimize.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ module.exports = {
optipng: { optimizationLevel: 7 },
gifsicle: { optimizationLevel: 3 },
pngquant: { quality: '65-90', speed: 4 },
svgo: { removeUnknownsAndDefaults: false, cleanupIDs: false },
svgo: {
plugins: [{ removeUnknownsAndDefaults: false }, { cleanupIDs: false }],
},
plugins: [imageminMozjpeg({ quality: 75 })],
disable: (config.enabled.watcher),
}),
Expand Down

0 comments on commit f2c47cf

Please sign in to comment.