Add webp
This commit is contained in:
parent
848ccf0ff3
commit
e291817264
10 changed files with 159 additions and 60 deletions
|
|
@ -70,8 +70,8 @@ module.exports = (env, argv) => ({
|
|||
options: {
|
||||
adapter: Sharp,
|
||||
outputPath: 'static/',
|
||||
sizes: [200, 400, 800, 1200, 2000],
|
||||
placeholder: false,
|
||||
sizes: [200, 400, 800, 1200, 1600, 2000],
|
||||
format: 'webp',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -122,7 +122,6 @@ module.exports = (env, argv) => ({
|
|||
test: /\.svg$/i,
|
||||
use: 'raw-loader',
|
||||
},
|
||||
|
||||
{
|
||||
test: /\.scss$/i,
|
||||
use: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue