diff --git a/build/tasks/compare_size.mjs b/build/tasks/compare_size.mjs index 554b1087a..a94cf42f0 100644 --- a/build/tasks/compare_size.mjs +++ b/build/tasks/compare_size.mjs @@ -60,7 +60,9 @@ function cacheResults( results ) { } function saveCache( loc, cache ) { - return fs.writeFile( loc, JSON.stringify( cache ) ); + + // Keep cache readable for manual edits + return fs.writeFile( loc, JSON.stringify( cache, null, " " ) + "\n" ); } function compareSizes( existing, current, padLength ) {