Skip to content

Different input files with the same content get cached to the same file #3

@josephwarrick

Description

@josephwarrick

If two different files have exactly the same content, they will both get cached to the same cache file.

This can happen most frequently when multiple packages require different versions of a given node_module. That is, foo requires bar@1.2.3, and baz requires bar@2.3.4, so the content of the file at "node_modules/foo/node_modules/bar/lib/thing.js" is the exact same as the content of the file at "node_modules/baz/node_modules/bar/lib/thing.js" even though they are different files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions