Minor fixes

This commit is contained in:
Andras Schmelczer 2022-09-25 17:43:48 +02:00
parent b8c1b8f09c
commit a8a21a58fb
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
2 changed files with 5 additions and 5 deletions

View file

@ -59,7 +59,7 @@ module.exports = (env, argv) => ({
loader: 'responsive-loader',
options: {
adapter: require('responsive-loader/sharp'),
sizes: [200, 400, 800, 1200, 1920],
sizes: [200, 500, 1200, 1920],
placeholder: true,
placeholderSize: 64,
quality: 90,
@ -69,7 +69,7 @@ module.exports = (env, argv) => ({
},
},
{
test: /\.(webm|mp4)$/i,
test: /\.(webm|mp4|woff2?)$/i,
type: 'asset/resource',
generator: {
filename: '[hash:8][ext]',