Skip to content

Feat/support dual esm cjs#193

Open
LiahMartens wants to merge 4 commits intodevelopit:mainfrom
LiahMartens:feat/support-dual-esm-cjs
Open

Feat/support dual esm cjs#193
LiahMartens wants to merge 4 commits intodevelopit:mainfrom
LiahMartens:feat/support-dual-esm-cjs

Conversation

@LiahMartens
Copy link

@LiahMartens LiahMartens commented Jan 2, 2024

What is the purpose of this pull request? (put an "X" next to an item)

What changes did you make? (Give an overview)

Updated the build

Is there anything you'd like reviewers to focus on?

As far as I can tell, the new artifacts are functionally identical. Both the ESM and CJS outputs support default importing/requiring.

import mitt from 'mitt' // works
const mitt = require('mitt') // works

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.

1 participant