Skip to content

Add --legal-comments=none to esbuild build commands#679

Merged
truggeri merged 1 commit intomainfrom
esbuild-legal-comments-none
Mar 26, 2026
Merged

Add --legal-comments=none to esbuild build commands#679
truggeri merged 1 commit intomainfrom
esbuild-legal-comments-none

Conversation

@jeffwidman
Copy link
Copy Markdown
Member

Stacked on #676.

Adds --legal-comments=none to both the build and dry-run esbuild commands to strip license/copyright banners from the bundled output. These comments inflate the checked-in dist/ file and diffs without adding value — licenses are already tracked in node_modules and package-lock.json.

@jeffwidman jeffwidman force-pushed the esbuild-legal-comments-none branch from eb0c091 to 38b0e8d Compare March 26, 2026 04:50
Base automatically changed from switch-build-to-esbuild to main March 26, 2026 04:55
Strip license/copyright banners from bundled dependencies.
These comments inflate the checked-in dist/ file and diffs
without adding value (licenses are tracked in node_modules
and package-lock.json).
@jeffwidman jeffwidman force-pushed the esbuild-legal-comments-none branch from 38b0e8d to 355e41f Compare March 26, 2026 05:12
@jeffwidman jeffwidman marked this pull request as ready for review March 26, 2026 05:12
@jeffwidman jeffwidman requested a review from a team as a code owner March 26, 2026 05:12
@truggeri truggeri merged commit fdab9e6 into main Mar 26, 2026
9 checks passed
@truggeri truggeri deleted the esbuild-legal-comments-none branch March 26, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants