Merge pull request #2075 from E-VANCE/master

Proposal: Set removeViewBox to 'false' in webpack's optimization settings
This commit is contained in:
Ben Word
2018-05-28 19:20:06 -06:00
committed by GitHub

View File

@@ -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),