Skip to content

Conversation

@SuperLlama88888
Copy link
Contributor

This doesn't change any functionality. It increases compatibility with third-party tooling like esm.sh.

I ran into an issue using the esm.sh VSCode extension and an importmap. Put simply, the module name in the declare module "potpack" needs to be renamed for every importmap key, which is much harder to do. Omitting declare module "potpack" doesn't change anything functionally, and is more in standard with other NPM packages.

Thank you!

Copy link
Member

@mourner mourner left a comment

Choose a reason for hiding this comment

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

Thanks!

@mourner mourner merged commit 5d2c35c into mapbox:main Jul 14, 2025
1 check passed
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