Skip to content

option to extract images #197

Closed
Closed
@quentincaffeino

Description

@quentincaffeino
  • Rollup Plugin Name: plugin-image
  • Rollup Plugin Version:

Feature Use Case

Transforming image to base64 isn't very smart size wise and also ci/cd could apply some optimizations to the raw images later.

Feature Proposal

To add some property that would allow to extract used images into dest folder.

plugins: [
...
image({ extract: 'public/images' })
...
]

Why not just straight out copy?

To omit exporting and applying extra processing on unused images.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions