We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d3b102 commit 0558443Copy full SHA for 0558443
packages/gatsby-plugin-sharp/src/plugin-options.js
@@ -58,7 +58,7 @@ exports.createTransformObject = args => {
58
jpegProgressive: args.jpegProgressive || generalArgs.jpegProgressive,
59
grayscale: args.grayscale || generalArgs.grayscale,
60
rotate: args.rotate,
61
- trim: !!args.trim,
+ trim: args.trim ? args.trim : undefined,
62
duotone: args.duotone ? args.duotone : null,
63
fit: args.fit,
64
background: args.background,
0 commit comments