diff --git a/tools/isobuild/compiler-plugin.js b/tools/isobuild/compiler-plugin.js index d7b25a1b66..729e4e881b 100644 --- a/tools/isobuild/compiler-plugin.js +++ b/tools/isobuild/compiler-plugin.js @@ -1329,7 +1329,7 @@ export class PackageSourceBatch { meteorPackageInstalls.join(""), "utf8" ); - const fileHash = sha1(fileData); + const fileHash = sha1(bufferData); // The getter's from file (file.data and file.hash) are async, unfortunately. // That's why we need the Object.assign here.