Skip to content

Hashing isn't stable when the file contents haven't changed #853

@marvinhagemeister

Description

@marvinhagemeister

Do you want to request a feature or report a bug?
Bug

What is the current behaviour?

Just noticed that on preactjs/preact-www#338 (comment) that some files have the exact same content, but a different hash with each build. This makes it hard to track size changes across builds.

If the current behaviour is a bug, please provide the steps to reproduce.

  1. Run build, check size
  2. Run build, check again

What is the expected behaviour?

Filenames stay the same when the content didn't change.

If this is a feature request, what is motivation or use case for changing the behaviour?

See above.

Please mention other relevant information.

Using the latest RC.

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