Skip to content

Cannot use read with images processed by enhanced-img #16585

Description

@teemingc

Describe the bug

images processed by enhanced-img have a URL of /@imagetools/<hash> during dev. read can't really read this because that path doesn't exist on disk if the read implementation uses the filesystem. See https://github.com/sveltejs/kit/pull/16464/changes#r3677799063

I have a feeling that this should be fixed in enhanced-img/image-tools because I don't know if SvelteKit can know where the user has configured their imagetools cache path (which is where the file is stored) although we don't currently allow configuring it.

Severity

serious, but I can work around it

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions