Skip to content

Commit

Permalink
fix: reduce placeholders quality
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Nov 11, 2020
1 parent cbeada1 commit b20a8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export function createImage (context, { providers, defaultProvider, presets, int
}

image.getMeta = async (source: string, modifiers: ImageModifiers, options: any = {}) => {
const { image } = parseImage(source, { ...modifiers, width: 30 }, options)
const { image } = parseImage(source, { ...modifiers, width: 30, quality: 40 }, options)

const meta = { placeholder: image.url }

Expand Down

0 comments on commit b20a8f9

Please sign in to comment.