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