Skip to content

Pass urlPath to imageOptimization even if disabled #68

Open
@codysaylor

Description

The imageOptimization takes a very long time for only a few images and I'd only like it to run on production, but I still need images to be prefixed with urlPath when they are not optimized and are given eleventyConfig.addPassthroughCopy if on development. This way, when the plugin doesn't optimize the images, their reference source still works in the rendered html files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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