Skip to content

fix: ts esm types (close #173) #174

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

Closed
wants to merge 1 commit into from
Closed

fix: ts esm types (close #173) #174

wants to merge 1 commit into from

Conversation

Mister-Hope
Copy link
Contributor

No description provided.

@Mister-Hope
Copy link
Contributor Author

@developit Could you please review this pr and publish a 3.0.1 soon? I am patching this package for quite a long time.

Comment on lines +5 to 7
"type": "module",
"module": "dist/mitt.mjs",
"main": "dist/mitt.js",

Choose a reason for hiding this comment

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

This is incorrect and not viable (on its own). Setting the package type to "module" means all of those .js files will be treated as ESM when they're CJS.

@Mister-Hope Mister-Hope closed this Dec 2, 2022
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