Skip to content

Assets referenced by Atom feeds are not content hashed #10311

@LostLuma

Description

@LostLuma

🐛 bug report

Assets, such as images, which are referenced in an Atom feed do not get renamed with their content hash on build.

🎛 Configuration (.babelrc, package.json, cli command)

The default Parcel configuration.

🤔 Expected Behavior

Paths to assets in <icon>, <img> etc. are renamed to include a hash.

😯 Current Behavior

Paths are prefixed with /up_/, but do not have content hashes in the filenames.

I've tried this with both the feed <icon> and <img> inside an entry.

<icon>/up_/media/blobluma.svg</icon>
...
<img src="/up_/media/blobluma.svg"/>

💁 Possible Solution

🔦 Context

I expected Parcel to rename these images as it usually does in other contexts, as this behavior is described on the XML language page in the documentation.

💻 Code Sample

🌍 Your Environment

Software Version(s)
Parcel 2.16.4
Node 26.1.0
npm/Yarn 11.14.1
Operating System Arch Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions