Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Ensure file.hash is always computed from sha1(file.data). #10330
With the introduction of lazy compilation in Meteor 1.8, calling
becomes problematic, since
For example, when we use
The quick fix is easy enough:
The remaining changes in this commit add another layer of defense against this problem, by ignoring any hash options provided by compiler plugins, in favor of simply computing the hash from the compiled data buffer. These additional changes will become available in the next release of Meteor (likely 22.214.171.124).