HM-39. Удалено сжатие картинок (#14)

This commit is contained in:
Nikolay
2020-07-16 08:32:40 +03:00
committed by GitHub
parent bcaacdf269
commit 2be41edb2f

View File

@ -71,26 +71,11 @@ module.exports = (env, argv) => ({
}, },
{ {
test: /\.(gif|png|jpe?g|svg)$/i, test: /\.(gif|png|jpe?g|svg)$/i,
use: [ loader: 'file-loader',
{
loader: 'image-webpack-loader',
options: {
quality: 80
},
},
{
loader: 'url-loader',
options: {
limit: 200000,
},
},
],
}, },
{ {
test: /\.(woff|woff2|eot|ttf|otf)$/, test: /\.(woff|woff2|eot|ttf|otf)$/,
use: [ loader: 'file-loader',
'file-loader',
],
}, },
], ],
}, },