Closed
Description
(related to #371)
Currently, gen-id runs the modules full file path through hash-sum to generate a unique value.
Using this method there is still a good possibility that the generated hash is not unique across different code bases (especially in instances where a CI tool is used to check different repos to the same target dir).
For this reason, I would like to propose that Date.now()
+ file path be used for generating the component hash.
return cache[file] || (cache[file] = hash(file + Date.now()))
This would greatly increase the uniqueness of the generated module ID.
Metadata
Metadata
Assignees
Labels
No labels