Skip to content

Commit

Permalink
Merge pull request #72 from palexcast/fix/add-hidden-comment-at-start
Browse files Browse the repository at this point in the history
fix: add hidden comment at start instead of end to avoid truncation
  • Loading branch information
exoego authored Aug 2, 2024
2 parents 1569d61 + ed5bb5c commit c6c6c11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions dist/index.mjs

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/compare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ This analysis was generated by [esbuild-bundle-analyzer](https://github.com/exoe

// we add this tag so that our action can be able to easily and
// consistently find the right comment to edit as more commits are pushed.
output += `<!-- __ESBUILD_BUNDLE_${input.name} -->`;
output = `<!-- __ESBUILD_BUNDLE_${input.name} -->
${output}`;

writeComment(input, output);
}
Expand Down

0 comments on commit c6c6c11

Please sign in to comment.