mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-30 23:06:10 +03:00
Tweak imagemin settings to improve performance.
This commit is contained in:
parent
8408ac60d5
commit
70611fa0eb
@ -106,15 +106,15 @@ function webpackOptions(production, routes, { debug, manifestConfig }) {
|
||||
]),
|
||||
new CopyPlugin([
|
||||
{
|
||||
from: "images/**/*"
|
||||
from: "images/"
|
||||
}
|
||||
]),
|
||||
new ImageminPlugin({
|
||||
test: /\.(jpe?g|png|gif|svg)$/i,
|
||||
disable: !production,
|
||||
pngquant: {
|
||||
quality: "40-70",
|
||||
speed: 1
|
||||
quality: "50-70",
|
||||
speed: 7
|
||||
},
|
||||
plugins: [
|
||||
imageminMozjpeg({
|
||||
|
Loading…
Reference in New Issue
Block a user