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!: unify the importModule behavior of cjs and esm #10

Merged
merged 9 commits into from
Oct 1, 2023

Conversation

chizukicn
Copy link
Contributor

@chizukicn chizukicn commented Sep 30, 2023

Description

When I migrated this library to unbuild, I found that the behavior of importModule was inconsistent under cjs and esm, so can the two be unified?

This PR also adds the dependency of mlly and migrates tsup to unbuild.

Linked Issues

Additional context

@antfu
Copy link
Member

antfu commented Oct 1, 2023

Seems good. Let's try it.

@antfu antfu merged commit 60a1239 into antfu-collective:main Oct 1, 2023
@antfu antfu mentioned this pull request Oct 1, 2023
@chizukicn chizukicn deleted the refactor branch October 1, 2023 12:56
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