Skip to content

Commit

Permalink
Merge pull request #2075 from E-VANCE/master
Browse files Browse the repository at this point in the history
Proposal: Set removeViewBox to 'false' in webpack's optimization settings
  • Loading branch information
retlehs authored May 29, 2018
2 parents ab37638 + 9dd101f commit 987a1d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/assets/build/webpack.config.optimize.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ module.exports = {
gifsicle: { optimizationLevel: 3 },
pngquant: { quality: '65-90', speed: 4 },
svgo: {
plugins: [{ removeUnknownsAndDefaults: false }, { cleanupIDs: false }],
plugins: [
{ removeUnknownsAndDefaults: false },
{ cleanupIDs: false },
{ removeViewBox: false },
],
},
plugins: [imageminMozjpeg({ quality: 75 })],
disable: (config.enabled.watcher),
Expand Down

0 comments on commit 987a1d8

Please sign in to comment.