Skip to content

Conversation

@marklundin
Copy link
Contributor

Add banner support for UMD builds and adjust SWC comment handling

Fixes #7644

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@marklundin marklundin requested review from Copilot and mvaligursky May 6, 2025 10:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR re-adds the missing license header for UMD builds by adjusting SWC comment handling and introducing a banner for UMD outputs.

  • Update SWC options to use "some" for comments when appropriate.
  • Add a conditional banner in UMD build outputs.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
utils/rollup-swc-options.mjs Update comment configuration to support partial comments.
utils/rollup-build-target.mjs Inject license header banner for UMD builds.

@marklundin marklundin merged commit e8be039 into main May 6, 2025
6 of 7 checks passed
@marklundin marklundin deleted the fix-license-export branch May 6, 2025 11:46
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.

Min version of engine v2 no longer contains the copyright text

3 participants