We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
{ data, hash }
1 parent d9b7d30 commit 3737f7aCopy full SHA for 3737f7a
src/rocket/bundle.ts
@@ -76,10 +76,12 @@ export async function bundleConfigPack(options: bundleConfigPackOptions) {
76
fuelDir,
77
referencedFuels,
78
})
79
+ const hash = await createSha256(data)
80
await mkdir(dirname(outputPath), { recursive: true })
81
await writeFile(outputPath, data)
82
- logger.success(`🚀 Bundled: "${outputPath}", sha256: "${await createSha256(data)}"`)
83
+ logger.success(`🚀 Bundled: "${outputPath}", sha256: "${hash}"`)
84
+ return { data, hash }
85
}
86
87
interface createZipBundleOptions {
0 commit comments