Skip to content

Resize using only one property #43

@busybox11

Description

@busybox11

Hi,
I'm trying to use this webpack module to resize images using a defined height.
Though all of these images don't have the same width and I'd like to keep the original aspect ratio.
I searched in the docs if that was possible but it seems not.
Giving a single property to the resize object (for example, width), errors out saying that the other one is undefined.
Maybe I am mistaken but if that's not the case, could it be possible to integrate an option like this?
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions