Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use Typescript in custom-media-element #51

Merged
merged 5 commits into from
Nov 26, 2024

Conversation

luwes
Copy link
Collaborator

@luwes luwes commented Nov 22, 2024

it's easier to keep the type definitions up to date

@luwes luwes self-assigned this Nov 22, 2024
Copy link

vercel bot commented Nov 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
media-elements-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 5:36pm

Copy link
Contributor

@cjpillsbury cjpillsbury left a comment

Choose a reason for hiding this comment

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

Love it. Ship it.

],
"type": "module",
"main": "custom-media-element.js",
"types": "custom-media-element.d.ts",
"main": "dist/custom-media-element.js",
Copy link
Contributor

Choose a reason for hiding this comment

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

this will have ripple effects on CDN usage, right? do we need to account for that anywhere (in our owned projects, docs, comms, elsewhere)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

good call. I think it's quite rare it's used via CDN. maybe for some examples and we tend to use the alias https://cdn.jsdelivr.net/npm/custom-media-element/+esm

@luwes luwes merged commit 5dbfb0a into muxinc:main Nov 26, 2024
4 checks passed
@luwes luwes deleted the ts-custom-media branch November 26, 2024 16:59
@github-actions github-actions bot mentioned this pull request Nov 26, 2024
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.

2 participants