Sage 9 & SVG's not found with build:production

Adding null to svgo at ImageminPlugin in webpack.config.optimize fixes the issue:

new ImageminPlugin({
      optipng: { optimizationLevel: 7 },
      gifsicle: { optimizationLevel: 3 },
      pngquant: { quality: '65-90', speed: 4 },
      svgo: null,
      plugins: [imageminMozjpeg({ quality: 75 })],
      disable: (config.enabled.watcher),
    }),
1 Like