Skip to content

Conversation

kasmacioma
Copy link
Contributor

Description of change

Right now, aliases are not converted to relative imports during build. This causes invalid imports to appear in the final .d.ts files. One of them is the PointData import in FillGradient (you can see it here, for example).

So I replaced the alias import of PointData with a relative one and also made it fully type-only

Pre-Merge Checklist
  • Lint process passed (npm run lint)

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ea9f6ad:

Sandbox Source
pixi.js-sandbox Configuration

Copy link
Member

@bigtimebuddy bigtimebuddy left a comment

Choose a reason for hiding this comment

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

Thank you!

@bigtimebuddy bigtimebuddy added the ✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t label Feb 26, 2025
@Zyie Zyie changed the title fix(FillGradient): don't use alias for PointData import fix: don't use alias for PointData import Feb 28, 2025
@Zyie Zyie added this pull request to the merge queue Mar 20, 2025
Merged via the queue into pixijs:dev with commit 3b54709 Mar 20, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants