Skip to content

Conversation

@marklundin
Copy link
Contributor

ESM Scripts now require a scriptName field. See playcanvas/engine#7593

This updates the boiler plate to include this new field.

ESM Scripts now require a `scriptName` field. See playcanvas/engine#7593

This updates the boiler plate to include this new field.
@marklundin marklundin added the enhancement New feature or request label Apr 24, 2025
@marklundin marklundin requested a review from Copilot April 24, 2025 10:37
@marklundin marklundin self-assigned this Apr 24, 2025
Copy link

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 pull request updates the ESM script boilerplate by adding a new static field, scriptName, to comply with the updated engine requirements.

  • Added a static scriptName field in two locations within the create-script.ts file
  • Ensured the new field is introduced in both class declarations to match the new standard

@marklundin marklundin requested a review from a team April 24, 2025 14:07
@marklundin marklundin merged commit 071b6f6 into main Apr 24, 2025
2 checks passed
@marklundin marklundin deleted the feat-esm-scriptname branch April 24, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants