From 7debe371b3b5e5bec8a31b216c32756f026286d1 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 6 Dec 2022 19:43:15 +0100 Subject: [PATCH] Actually write changed manifest to disk --- lib/tasks/sourcemap.rake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tasks/sourcemap.rake b/lib/tasks/sourcemap.rake index 107c6fd2..48cc6b43 100644 --- a/lib/tasks/sourcemap.rake +++ b/lib/tasks/sourcemap.rake @@ -55,6 +55,8 @@ namespace :assets do write_asset(file, new_content.join, manifest) end + # We need to write the manifest file again to include the new integrity hashes + manifest_json['files'] = manifest File.write(manifest_path, manifest_json.to_json) end