Replies: 1 comment 2 replies
-
Yeah so this feature is poorly documented and also rather unintuitive. Your resizing functions are considered because they take a configuration and operate on the image, while the srcset directive is considered an outputFormat because it takes the images metadata and returns a string. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Found the custom directives section and I'm trying to follow along to make some 'presets' because they are being used...like...a LOT!
Anyway, did this so far...prolly not right however...does not work...what should I change? no srcset directive it seems...do I just add it in somewhere?
Beta Was this translation helpful? Give feedback.
All reactions