We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eaa46e commit f8bfd3cCopy full SHA for f8bfd3c
preact.config.js
@@ -4,7 +4,7 @@ const imageminMozjpeg = require('imagemin-mozjpeg');
4
5
module.exports = (config, env) => {
6
netlifyPlugin(config);
7
- env.isProd && config.plugins.push(new ImageminPlugin({
+ env.production && !env.ssr && config.plugins.push(new ImageminPlugin({
8
from: './build/assets/**',
9
pngquant: {
10
quality: '60'
0 commit comments