From a95b848d25ab4c47429464eec0f37ee7ea02e1c7 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Thu, 24 Sep 2020 22:32:11 +0200 Subject: [PATCH] Add `.js` to the bundle filename --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 6cdbd315..3fe62491 100644 --- a/src/index.js +++ b/src/index.js @@ -142,7 +142,7 @@ async function publishBundle(bundle, handlers, outputDir, isLocal, apiToken) { /** @type {import("./upload").BundleInfo} */ const bundleInfo = { - sha: shasum.digest("hex"), + sha: `${shasum.digest("hex")}.js`, handlers, // needs to have length of the byte representation, not the string length content_length: buf.length,